Posted: Tue Dec 16, 2008 9:21 pm Post subject: Re: Clarification on Commit/Rollback/Syncpoint
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
anilg5 wrote:
Hi,
I have got one generic question. I read MQ Prgaming guide but still some confusion on this.
I am writing on Java programing using MQI interface to put the messages on remote queue and receiving messages from the local queue.
I don't have any unit of work in my application. I just need put the messages into the as soon as my process receives from another system.
In these cases do i need these Commit/Rollback/Synpoint features?
Yes you do.
anilg5 wrote:
what happens if i write the program without using these about options?
So what happens when you have retrieved a message and the system crashes before you could put it? Are you ready to loose messages?
anilg5 wrote:
we expecting around 10000 messages to put into the remote queue and that mapped to some local queue on the different MQ server.
Give me some suggestion on these
Commit/Rollback/Syncpoint
Thanks In Advance ...
Anil
Use as needed. Make sure to never let the system do the default commit. Set your transaction boundaries and do a commit. _________________ MQ & Broker admin
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