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 » IBM MQ Java / JMS » Clarification on Commit/Rollback/Syncpoint

Post new topic  Reply to topic
 Clarification on Commit/Rollback/Syncpoint « View previous topic :: View next topic » 
Author Message
anilg5
PostPosted: Tue Dec 16, 2008 5:36 pm    Post subject: Clarification on Commit/Rollback/Syncpoint Reply with quote

Newbie

Joined: 15 Dec 2008
Posts: 3

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 recives from another system.

In these cases do i need these Commit/Rollback/Synpoint features?

what happens if i write the program without using these about options?

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
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 16, 2008 9:21 pm    Post subject: Re: Clarification on Commit/Rollback/Syncpoint Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Clarification on Commit/Rollback/Syncpoint
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.