ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportMQ OUTPUT NODE OUT Terminal Continuation flow

Post new topicReply to topic
MQ OUTPUT NODE OUT Terminal Continuation flow View previous topic :: View next topic
Author Message
MD
PostPosted: Mon Nov 06, 2017 2:14 am Post subject: MQ OUTPUT NODE OUT Terminal Continuation flow Reply with quote

Novice

Joined: 19 Apr 2017
Posts: 11

Hello All,

I have a requirement in which one request-reply also included in between the flow.
My flow contains,
MQ-INPUT -> Java Compute -> MQ-OUTPUT -> MQ GET -> Remaining transformation -> MQ-OUTPUT

MQ INPUT node: Will get the input message.
Java Compute node: Will set some headers, req->reply setup so it will request for a response message and put it in reply queue(REPLYINQ)
MQ OUTPUT node: To send the request to target queue specified in JCN(Previous node). (Out terminal connected to GET node)
MQ GET: Take the message from REPLYINQ(reply queue) and do the remaining transformation.

So now I want to commit the transaction at 1st MQ-OUTPUT node to send the request and then to get reply for that.

How can I commit the transaction in the middle of the flow ? And based on the reply I have to continue the flow after 1st MQ-OUTPUT node.

Please advise..

Thanks in advance
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 06, 2017 5:16 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19382
Location: LI,NY

The MQ Output node has a setting. Set transaction no.
You will need a transformation node between the MQ Output and the MQ Get node to get the message/correlation id from the local environment and put it into the MQMD for the get.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
MD
PostPosted: Mon Nov 06, 2017 7:15 pm Post subject: Reply with quote

Novice

Joined: 19 Apr 2017
Posts: 11

Thanks much Grand

It worked with Transaction mode setup.


BR/MAnoj
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Nov 07, 2017 12:32 am Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5559
Location: UK

For scalability it's better to terminate the flow at MQoutput and let the reply start a new flow. That would avoid blocking the thread.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportMQ OUTPUT NODE OUT Terminal Continuation flow
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.