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 Index » WebSphere Message Broker (ACE) Support » Transaction mode in MQOutput Node

Post new topic  Reply to topic
 Transaction mode in MQOutput Node « View previous topic :: View next topic » 
Author Message
saimahesh
PostPosted: Thu Aug 30, 2018 1:43 am    Post subject: Transaction mode in MQOutput Node Reply with quote

Novice

Joined: 13 Dec 2017
Posts: 13

Hi Team,
Message flow contain MQ Input Node --> JCN --> MQ Output node.
"MQ Input" Node failure and catch terminals connected to MQ Output node.
This flow got a message and it contain list of batch identity details to be extracted from database. In Java compute node build multiplies messages per identity and send to target queue. Here We wanted to send all batch of messages to the target queue as single unit of work or no message if we have any exception in middle of building batch of messages. So we have set Transaction Mode as "YES" for MQ OutputNode, but we still facing issue like messages are not getting rollback to previous state and successfully build message went target queue if we got any exception in the middle of build other message. Can you please help me to resolve this issue.

IIB Version : 10.0.0.11
MQ Version : 8.0.0.5
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 30, 2018 6:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

What is the transactionality of the flow overall?

What method does the JCN use to connect to the database?

What is the correlation between input and output messages? Are you attempting:

1 input messages -> read database -> send 1-n messages or 0 messages?

or are you attempting:

batch of messages -> read database -> send 1-n messages or 0 messages?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
saimahesh
PostPosted: Thu Sep 27, 2018 12:25 pm    Post subject: Reply with quote

Novice

Joined: 13 Dec 2017
Posts: 13

Code:
What is the transactionality of the flow overall? --> Yes


Code:
What method does the JCN use to connect to the database?
Ans: using JCN provided getJDBCType4Connection() method got the DB connection.


Code:

We are attempting
batch of messages -> read database -> send 1-n messages or 0 messages?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Transaction mode in MQOutput Node
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.