Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS: Problem with Consumer Program

 
Nitin D Gaur
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic