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 » MQGET sync-point

Post new topic  Reply to topic
 MQGET sync-point « View previous topic :: View next topic » 
Author Message
techno
PostPosted: Thu Jan 22, 2004 7:44 pm    Post subject: MQGET sync-point Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Do we need to commit while MQGET in case the messages are retrieved under sync point (By default os/390, vse/esa, compaq)? Or can we set in the program so that the messages are retrieved out of sync-point?

transacted = false
session = connection.createQueueSession(transacted,
Session.AUTO_ACKNOWLEDGE);

Does above snippet holds good for retrieving messages out of sync-point?

Thanks
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri Jan 23, 2004 6:42 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

"Do we need to commit while MQGET in case the messages are retrieved under sync point (By default os/390, vse/esa, compaq)?"
A) You sure have to. But i believe that on some platforms you dont have to, such as os/390(not 100% sure though). Because i belive the CICS transaction is committed when your app ends and your app runs within the CICS space. Also if you call mqdisc without doing a commit, there is an implicit commit, but only if the transaction is queue manager co-ordinated and not by a transaction manager.

"Or can we set in the program so that the messages are retrieved out of sync-point? "
A) You sure can.

As for the program snippet, it sounds about right.

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQGET sync-point
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.