posting messages to remote queue on mq setup
We are working on setting up of queues on MQ Series6.0.
We were able to setup and send a message to the local Queue successfully,
But could not send the message to the remote Queue.
In case of local queue we are not having any problem.
We have a Queue Manager and Queue in one system and
Another Queue Manager and Queue in another system.
We are trying to send a message to the remote queue by giving the ipadress of the remote queue manager.
As it is required for communication between the queues.
Below is the error displayed which we are encountering:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '172.20.51.174:QM_bmphm5s447'
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Exception in thread "main"
Process finished with exit code 1
I am attaching the java prg for sending the message to reote queue.
Re: posting messages to remote queue on mq setup
I am also trying to post some JMS messages into a queue remote using MQ bindings mode, but I am not getting any error, I am unable to send messages and also I couldnt find where my messages are going. Can anyone help me ? Is it true that we can send JMS messages to a remote queue only by using a JMS client and not by bindings connection ? Please advise.
Thanks & Regards