tree: 851486c983779e91254877492888c56e7d710f88
  1. ActiveMQExamples/
  2. readme.md
assembly/src/release/examples/openwire/csharp/readme.md

Prereqs

Building

This will vary depending on where you installed your libraries. Open the ActiveMQExamples solution in Visual Studio and update the references for the Listener and Publisher project to point to where you Apache.NMS.dll,
Apache.NMS.ActiveMQ.dll and Ionic.Zlib.dll are located.

Build both projects in the solution.

Running the Examples

In one terminal window run:

./Listener.exe

In another terminal window run:

./Publisher.exe

You can control to which ActiveMQ server the examples try to connect to by setting the following environment variables:

  • ACTIVEMQ_HOST
  • ACTIVEMQ_PORT
  • ACTIVEMQ_USER
  • ACTIVEMQ_PASSWORD