Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to send messages to clustered message queues using java (javax.jms.*)  RSS feed

 
ronak rayy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am connecting and sending a message to a message queue on Websphere Application Server (WAS) from my java code (javax.jms.*) and its working.
Problem: If it is a clustered environment, and there are 3 message queues for load balancing, the same java code is failing. Please help me on how to sort this problem, and suggest weather I need to change the code for something need to be configured on WAS while deploying or setting up message queues ?

The java code and message queues are deployed on WAS.

Below is the java code,

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!