This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JMS: Problem with Consumer Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS: Problem with Consumer Program " Watch "JMS: Problem with Consumer Program " New topic
Author

JMS: Problem with Consumer Program

Nitin D Gaur
Greenhorn

Joined: Jul 04, 2008
Posts: 10
Hi Forum,

I am using one Producer-Consumer program on Apache ActiveMQ to send and recieve messages from remote JMS-Broker server. I am able to successfully produce the message but not able to consume the response from JMS-Broker Server. Below is my program.




I tested this code locally by using a local consumer-producer program this program works fine but for remote JMS-Broker Server it doesn't.

Please somebody help.

Thanks,
Nitin
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMS: Problem with Consumer Program
 
Similar Threads
ActiveMQ topic
JMS: Problem with Consumer Program
JMS Consumer ends even after implementing MessageListener interface.
threads
Same Code Different Behaviour