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 » Commit 20 messages & go back to process the rest

Post new topic  Reply to topic
 Commit 20 messages & go back to process the rest « View previous topic :: View next topic » 
Author Message
Rodeo
PostPosted: Thu Jun 14, 2007 12:20 pm    Post subject: Commit 20 messages & go back to process the rest Reply with quote

Apprentice

Joined: 11 Apr 2007
Posts: 30

We are generating XML messages for records in a database table using message broker flow. The question is: once I generate 20 XML messages (500 records per message)and propogate them to MQ output node, I want to commit those messages (so that I don't run out of MQ log space) and continue in the loop (in the currently running message flow)and process the rest of the records in the source database. Is there a way I can execute a commit command in ESQL that would allow me to commit the 20 message I put on MQ?

Any thoughts on this?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 14, 2007 12:54 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Two things to try - I don't know that either of them will work the way you want them to.

1) Set the MQInput node to Commit On Group, and build your output messages in logical groups of 20. This *might* cause the whole group to be committed.

2) Try using a DestinationList and the TransactionMode element in that list. Set it to Yes for the first 19 messages, and then no for the 20th, and etc. This *might* cause the uncommitted messages to be committed - as long as it's all the same MQOutput node.
_________________
I am *not* the model of the modern major general.
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 » Commit 20 messages & go back to process the rest
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.