|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRFH2 jms problem |
« View previous topic :: View next topic » |
Author |
Message
|
wmqiadmin |
Posted: Thu Apr 12, 2007 7:43 am Post subject: MQRFH2 jms problem |
|
|
 Disciple
Joined: 19 Jun 2005 Posts: 163 Location: epping UK
|
Hi All,
Broker is receiving and JMS message and sending back and JMS message to the output queue.
Can i reset the jms.dst value in the compute node to redirect the message to another queue?
thanks
wmqiadmin |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 12, 2007 7:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you're using an MQOutput node, you can build a DestinationList in LocalEnvironment, and tell the MQOutput node to send to the DestinationList.
If you're using a JMSOutput node, you can configure it to send a Reply to the JMSReplyTo. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wmqiadmin |
Posted: Thu Apr 12, 2007 7:52 am Post subject: |
|
|
 Disciple
Joined: 19 Jun 2005 Posts: 163 Location: epping UK
|
Hi Jeff,
I am building the destination list, but the value in MQRFH2.jms.dst = input Q, so the message fails at JMS application side.
How do i reset the value??
Thanks
-wmqiadmin |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Apr 12, 2007 3:38 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
wmqiadmin wrote: |
Hi Jeff,
I am building the destination list, but the value in MQRFH2.jms.dst = input Q, so the message fails at JMS application side.
How do i reset the value??
Thanks
-wmqiadmin |
You can set the JMSDestination in the RFH header.
However can you be more specific with "The message fails at JMS application side"?
Unless the application checks that the message it received has actually the JMSDestination of the JMSDestination it was picked off there should be no problem. We have sent messages with JMSDestination = null (not filled in the RFH) or a JMSDestination="topic://mytopic" to a queue and they are picked off as if in point to point.... Now when you look at the JMSDestination (RFHUTIL) you will see topic://mytopic and the JMSDestination on the message will resolve to a topic (all the while you did a receive against a JMSDestination of type queue:///myqueue)
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|