Those are perfect. By the way, if you download zipped source for the latest release (Apache.NMS-1.3.0-src.zip), those test files are not present. It would be helpful to include them and to update the apache web site ( http://activemq.apache.org/nms/examples.html) to show the examples also.
On Mon, Aug 16, 2010 at 8:53 AM, Timothy Bish <tabish...@gmail.com> wrote: > 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/ > > -- Devin Venable Senior Software Engineer Global Technology Partners