|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
synchpoint and message arrival |
« View previous topic :: View next topic » |
Author |
Message
|
psanders |
Posted: Mon Jul 26, 2004 10:59 am Post subject: synchpoint and message arrival |
|
|
Apprentice
Joined: 02 Apr 2002 Posts: 27
|
Given that I put several messages to a remote queue within a single unit of work. Will the messages all be committed to the target local queue within a unit of work or will some of the messages be available before others. I am guessing that the MTA will do as he sees fit and there is no guarantee that the messages will arrive together.
Assuming my guess is correct, are there any message options that can be used to easily alter this behavior? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 26, 2004 11:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Use your own private channel and tailor it in such a way that the channel batch size is a little bit greater than the max messages in a single commit.
That should do the trick
 |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Jul 26, 2004 3:56 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
In addition, the channel speed will have to be set to NORMAL if these are non persistent (NP) messages. Otherwise, on a FAST channel, NP messages are fire and forget, and the sending MCA will send them over outside of syncpoint one by one.
If they are persistent, channel speed is not an issue in this regard.
The other option is to use Message Groups, if the other side wil take care to specify options that only retrieve the messages when ALL the messages in the group have arrived.
But you might want to reconsider your design so that this is not a requirement. MQ guarantees that the message WILL be delivered. It does not guarantee WHEN it will be delivered. _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|