Reputation: 85
Machine 1 - has JMS and ActiveMQ is runnning.
Machine 2 - No JMS and ActiveMQ is not avialable/runnning.
Please let me know , how machine 2 reads the messages posted by machine 1 .
Upvotes: 0
Views: 1221
Reputation: 34988
Here's a couple of important starting points:
In your scenario you just need to put the ActiveMQ client libraries and your client application (which will use those libraries via the JMS API) on Machine 2. The client simply needs the hostname and port information for Machine 1 where the server is running in order to connect to it. This assumes, of course, that the server on Machine 1 is configured to be available over the network.
A simple "Hello World" example is available on the ActiveMQ website.
Upvotes: 3