MSMQ was a point of reference...<br><br>RabbitMQ .NET client library API guide has a few snippets... no fully functional ready to run examples...<br>RabbitMQ .NET Client Library User Guide... ditto, although it does reference examples in section 6, building the samples is problematic, using visual studio as documented and the related samples are not part of a ready to run solution, that you can walk through in debug mode in visual studio, AddClient, AddServer, DeclareQueue etc... and they are individual console, widgets...<br>
<br>so in my view if there was some single C# solution, (winform) that one could just open and run with a test consumer/subscriber/publisher/create queue etc., that if one set some break points in, they could in a single solution (one-stop-shopping) go through all the common tasks in debug mode in visual studio...<br>
<br>create a queue, dispatcher, publish to that queue, subscribe to that queue, add address, binding, contract, context, protocol programmaticly, view message, etc...<br><br>thanks in advance.<br><br>re:<br><div class="gmail_quote">
On Wed, Jul 15, 2009 at 7:47 AM, Alexis Richardson <span dir="ltr"><<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Patrick<br>
<br>
RabbitMQ does not connect to MSMQ directly, although you could wire an<br>
integration between RabbitMQ and MSMQ through WCF. For the latter, use<br>
standard MS docs and for the former please can you check out the<br>
documents on <a href="http://www.rabbitmq.com/dotnet.html" target="_blank">www.rabbitmq.com/dotnet.html</a> and tell us in what way they<br>
can be improved. The PDFs do contain examples of the type you<br>
request, or at least, they are supposed to do so ;-)<br>
<font color="#888888"><br>
alexis<br>
</font><div><div></div><div class="h5"><br>
<br>
On Wed, Jul 15, 2009 at 3:43 PM, Patrick Kenney<<a href="mailto:pekenney@gmail.com">pekenney@gmail.com</a>> wrote:<br>
> I have...<br>
><br>
> And as a new user myself, I would like to suggest some very basic "how do I"<br>
> fully functional, one stop shopping samples, for common tasks, and similar<br>
> tasks, such as this is how create, connect, publish, subscribe to a MSMQ<br>
> queue, via WCF and this is how you do it with RabbitMQ C#, WCF, etc., along<br>
> the lines that Microsoft does it especially when there are several pdfs to<br>
> go through, and api's to absorb like AMQP...<br>
> In my view this will facilitate a faster learning and or adoption period for<br>
> RabbitMQ and give it a larger following...<br>
><br>
> thanks in advance.<br>
><br>
> On Wed, Jul 15, 2009 at 3:47 AM, Alexis Richardson<br>
> <<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>> wrote:<br>
>><br>
>> Wilson<br>
>><br>
>> Have you read the documentation -- eg. the PDFs -- on this page?<br>
>><br>
>> <a href="http://www.rabbitmq.com/dotnet.html" target="_blank">http://www.rabbitmq.com/dotnet.html</a><br>
>><br>
>> alexis<br>
>><br>
>><br>
>> On Wed, Jul 15, 2009 at 11:43 AM, Wilson Ke<<a href="http://wilson.ke" target="_blank">wilson.ke</a>@<a href="http://wealthcraft.com" target="_blank">wealthcraft.com</a>><br>
>> wrote:<br>
>> > Hi all,<br>
>> ><br>
>> > I am use Wcf and RabbitMQ to make project. I can use Wcf bind<br>
>> > RabbitMQ<br>
>> > to work normal as below ,but I don’t know how to make Wcf bind to<br>
>> > rabbitmq<br>
>> > exchange and queue, could you help me? Many thanks!<br>
>> ><br>
>> ><br>
>> ><br>
>> > C# code:<br>
>> ><br>
>> > namespace Server<br>
>> ><br>
>> > {<br>
>> ><br>
>> > using System;<br>
>> ><br>
>> > using System.ServiceModel;<br>
>> ><br>
>> > using WcfServiceLibrary1;<br>
>> ><br>
>> > using RabbitMQ.ServiceModel;<br>
>> ><br>
>> ><br>
>> ><br>
>> > class Server<br>
>> ><br>
>> > {<br>
>> ><br>
>> > public void Run()<br>
>> ><br>
>> > {<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > ServiceHost host = new ServiceHost(typeof(HelloService));<br>
>> ><br>
>> > host.Open();<br>
>> ><br>
>> ><br>
>> ><br>
>> > Console.WriteLine("Service Ready");<br>
>> ><br>
>> > Console.ReadLine();<br>
>> ><br>
>> ><br>
>> ><br>
>> > host.Close();<br>
>> ><br>
>> > }<br>
>> ><br>
>> > }<br>
>> ><br>
>> > }<br>
>> ><br>
>> ><br>
>> ><br>
>> > Config file:<br>
>> ><br>
>> > <?xml version="1.0" encoding="utf-8" ?><br>
>> ><br>
>> > <configuration><br>
>> ><br>
>> > <system.serviceModel><br>
>> ><br>
>> ><br>
>> ><br>
>> > <services><br>
>> ><br>
>> > <service name="WcfServiceLibrary1.HelloService"><br>
>> ><br>
>> > <host><br>
>> ><br>
>> > <baseAddresses><br>
>> ><br>
>> > <add baseAddress="soap.amqp:///" /><br>
>> ><br>
>> > </baseAddresses><br>
>> ><br>
>> > </host><br>
>> ><br>
>> > <endpoint<br>
>> ><br>
>> > address="Hello"<br>
>> ><br>
>> > binding="rabbitMQBinding"<br>
>> ><br>
>> > bindingConfiguration="rabbitMQConfig"<br>
>> ><br>
>> > contract="WcfServiceLibrary1.IHelloContract"/><br>
>> ><br>
>> > </service><br>
>> ><br>
>> > </services><br>
>> ><br>
>> > <bindings><br>
>> ><br>
>> > <rabbitMQBinding><br>
>> ><br>
>> > <binding name="rabbitMQConfig"<br>
>> ><br>
>> > broker="amqp://<a href="http://192.168.1.87:5672/" target="_blank">192.168.1.87:5672/</a>"<br>
>> ><br>
>> > protocolversion="AMQP_0_8"<br>
>> ><br>
>> > oneWay="false"<br>
>> ><br>
>> > /><br>
>> ><br>
>> > </rabbitMQBinding><br>
>> ><br>
>> > </bindings><br>
>> ><br>
>> ><br>
>> ><br>
>> > <extensions><br>
>> ><br>
>> > <bindingExtensions><br>
>> ><br>
>> > <add<br>
>> ><br>
>> > name="rabbitMQBinding"<br>
>> ><br>
>> > type="RabbitMQ.ServiceModel.RabbitMQBindingSection,<br>
>> > RabbitMQ.ServiceModel, Version=1.0.110.0, Culture=neutral,<br>
>> > PublicKeyToken=null"/><br>
>> ><br>
>> > </bindingExtensions><br>
>> ><br>
>> > </extensions><br>
>> ><br>
>> ><br>
>> ><br>
>> > </system.serviceModel><br>
>> ><br>
>> > </configuration><br>
>> ><br>
>> > _______________________________________________<br>
>> > rabbitmq-discuss mailing list<br>
>> > <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> > <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> rabbitmq-discuss mailing list<br>
>> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
><br>
</div></div></blockquote></div><br>