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 » General IBM MQ Support » Multiple messages in one transaction?

Post new topic  Reply to topic
 Multiple messages in one transaction? « View previous topic :: View next topic » 
Author Message
BBM
PostPosted: Tue May 22, 2007 1:50 am    Post subject: Multiple messages in one transaction? Reply with quote

Master

Joined: 10 Nov 2005
Posts: 217
Location: London, UK

Hi,

I have a question on the dev side. Is it possible to batch messages together in one transaction.

We're currently using the v6.0 extended transactional client to pull messages from our v.6.2.1 queue manager and we'd like to speed up the process. Our developers are asking whether its possible to batch messages so they do not expend processing in opening up a transaction for every single message.

Any help, gratefully received.

cheers

BBM
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 22, 2007 2:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's up to the programmers to decide when and how to issue COMMIT.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
BBM
PostPosted: Tue May 22, 2007 2:18 am    Post subject: Reply with quote

Master

Joined: 10 Nov 2005
Posts: 217
Location: London, UK

Hi,

Thanks for that. Didn't realise it was that simple. Is there any limit to how many messages can be batched together in this way? Apologies if this is in the application programming guide but I couldn't find anything along these lines.

Cheers

BBM
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 22, 2007 2:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you run out of space in your active logs, the transaction gets rolled back.

More than 1, less than 100 is a good rule.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue May 22, 2007 2:34 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

You can think of that, its in APG, You will get something called sync points

Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
BBM
PostPosted: Tue May 22, 2007 2:47 am    Post subject: Reply with quote

Master

Joined: 10 Nov 2005
Posts: 217
Location: London, UK

Great - thanks - just found it in APG - will check out MAXUSMSGS setting.

Cheers!

BBM
Back to top
View user's profile Send private message
zpat
PostPosted: Tue May 22, 2007 2:50 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

IBM recommend no more than about 50 messages in one UOW for performance reasons.
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 » General IBM MQ Support » Multiple messages in one transaction?
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.