Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JMS Suscriber to non System Queue?

Status
Not open for further replies.

garber

Programmer
Nov 6, 2000
2
US
Hello,
We are successfully using JMS/MQSeries interface for sending/receiving messages.
Now I am trying to use Pub/Sub.
JMS Publish works fine. Subscribe works only if I am using System default queues for it. If I try to specify another queues - it fails when I am trying to use these values to create a session. Here is the code:

setBrokerQueueManager("Z");
setBrokerPubQueue("QUEUE1");
setBrokerControlQueue("QUEUE1");

It gives me this error: com.ibm.mq.jms.NoBrokerResponseException: no response from broker.
Any help is appreciated.
Thank you,

Yakov Fain
 
I had a the same problem but unfortunately can't remember off the top of my head what it was! Did you do this:

runmqsc MY.QUEUE.MANAGER < MQJMS_PSQ.mq c

as mentioned under post-install in the Using Java manual? I'll try to dig out what I did to make it work.

Cheers,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top