Posted: Mon May 21, 2007 3:28 pm Post subject: Message Broker - Java Compute Node - Msg Affinity
Voyager
Joined: 28 Nov 2004 Posts: 76
Hello
What problem(s) would ensue if a Java Compute node was used to connect to the same queue manager and queue that is being serviced by MQInput Node within a message flow. In this case to retrieve a specific message using MQMD message id.
My assumption is that any MQSeries work within the java compute node would operate outside a unit of work and could therefore be lost. Would there be other consequences?
Environment: AIX
Message Broker: V6
MQ V5.3
Message flow: Additional Instances set to 0
The MQGet Node does not allow you to connect to same queue that is referenced in the input node. The object connection handle is trashed. We opened a PMR with IBM. IBM Support was not interested in fixing this bug ...resolving this problem was not trivial.
Frankly, it scares me that you would want to do a second GET from the same input queue. Why not either send the other message (which you want to retrieve by Msg ID) to another queue and use the MQGet node... or do something entirely different, like maybe use message groups?
It seems like a really bad design to try to go back to the input queue for your flow in order to pick up another message - you won't be able to guarantee order of messages arriving on that queue. There are all kinds of issues with this. It would be a good idea to revisit your design.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum