|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Clarification on the MQGet |
« View previous topic :: View next topic » |
Author |
Message
|
Kumar4 |
Posted: Sun Sep 16, 2007 2:03 pm Post subject: Clarification on the MQGet |
|
|
Apprentice
Joined: 12 Aug 2007 Posts: 27
|
Heloo Masters
I have a question regarding the MQGet Node, I have a flow where I get message from the JMS Node and sending the message with transformation and Validation handled.
JMSInput--> JMSMQ Transform--> MQOutput-->MQGet-->Filter-->Compute-->MQOutput
Is it a good idea to use MQGet Node in my flow, because I dont see need of it, But its my internal view that I can use it.
Can any one suggest me whether I can use MQGet node?
MQOutput Node can send messages to Filter, If so where can I handle the failure messages(Error handling) in my flow, If messages is backed out do I need to configure that at the JMSMQTransform Node or else at the failure terminal of MQOutput Node?
Please advise?
Thanks In Advance |
|
Back to top |
|
 |
TonyD |
Posted: Sun Sep 16, 2007 2:46 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
From your brief description I see no need for the JMSMQTransform, MQOutput and MQGet nodes. Why do you think you should include them? |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Sep 16, 2007 3:16 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You use MQGet when you wish to receive a message from a queue that a) is not the same queue as your MQInput, and b) will be received in the same instance of the message flow.
For example, if you have an asynchronous MQ Request/Reply that you need to proxy with a synchronous HTTP WebService request/reply, you can use MQOutput to send the MQ Request, and MQGet to receive the MQ reply - all in the same instance of the message flow that was started by the HTTPInput. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Kumar4 |
Posted: Mon Sep 17, 2007 6:33 am Post subject: |
|
|
Apprentice
Joined: 12 Aug 2007 Posts: 27
|
The reason I was using JMSMQ transform is that it should be used whenever I use JMSInput node it
should be followed by JMSMQ transform(As per the Tutotial).If I use JMSOuput Node then it will be prefixed with JMSMQ Transform.
For MQOutput node, This node will be used to process the messages again . Like an reprocessing node.
If something happens to the message and dumps to the Error Queue, IT can be modified and then send the
MQOutput Node to reprocess
For MQGet that is what my question is?
I feel it as a good source to get a message from the Output node and also can be used to contruct
new messages header.though i dont need that for time being.
Please correct me If I'm wrong
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 17, 2007 6:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can't read messages using an MQOutput node.
You want to use backout in order to reprocess messages that have an error, not anything else.
If your JMS provider doesn't support backout, then it's not fully compliant with the JMS spec - as JMS is supposed to be transactional. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|