On Mon, 2010-08-16 at 08:42 -0500, Devin Venable wrote: > I need to whip up some quick examples for some folks I work with who use the > .NET platform. Unfortunately, there are no short examples posted on the > site for .NET for either the ActiveMQ or STOMP client. > > http://activemq.apache.org/nms/examples.html > > > I've been working on extracting a simple example from the unit tests that > come with the source, but these examples use every known feature and tons of > helper classes. Can someone provide a quick 10 line or less producer > example for c#?
Have you had a look at the samples in the NMS.ActiveMQ test dir: https://svn.apache.org/repos/asf/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMain.cs https://svn.apache.org/repos/asf/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMainAsync.cs If those aren't enough let me know what else you need covered. Regards -- Tim Bish Open Source Integration: http://fusesource.com ActiveMQ in Action: http://www.manning.com/snyder/ Follow me on Twitter: http://twitter.com/tabish121 My Blog: http://timbish.blogspot.com/