I have a Java Application that writes fine to a Local Queue, but produces an error when I write to a Remote Queue. I get a fail with reason code 2045, OPTION_NOT_VALID_FOR_TYPE. Can someone help me?
I believe there is a limitation on queues that an MQ client can interract with. The JMS documentation states that clients can only open queues that are locally managed by the connected-to queue manager.
Your options?
1) Write to a local queue. Create a small triggered app on the MQ Server that picks up these mesages and forwards them to the remote queue. (Or use the Pub/Sub Broker free from IBM).
2) Cluster the queue managers and create a cluster queue on the first queue manager. You client app can write to this 'local cluster' queue. Your receiving app can also read from this 'remote cluster' queue.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.