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 » Search

 Search found 5 matches
Author Message
  Topic: Any way to avoid 'auto-commit' on disconnect ?
gupabhi

Replies: 11
Views: 19280

PostForum: IBM MQ API Support   Posted: Fri Sep 11, 2009 7:41 am   Subject: Any way to avoid 'auto-commit' on disconnect ?
> Well if you are running in a J2EE provider you should be running JMS and setting the session to rollback only when catching the error / exception...

Well, that doesn't help. I am actually usi ...
  Topic: Any way to avoid 'auto-commit' on disconnect ?
gupabhi

Replies: 11
Views: 19280

PostForum: IBM MQ API Support   Posted: Fri Sep 04, 2009 10:44 am   Subject: Any way to avoid 'auto-commit' on disconnect ?
> If your app has an outstanding unit of work and you end abnormally (i.e. you bomb without issue disconnect), you will get an implicit rollback.

What do you mean by end abnormally? How do I ac ...
  Topic: Any way to avoid 'auto-commit' on disconnect ?
gupabhi

Replies: 11
Views: 19280

PostForum: IBM MQ API Support   Posted: Wed Sep 02, 2009 7:35 am   Subject: Any way to avoid 'auto-commit' on disconnect ?
2nd rollback falls under "option 3" that I suggested where a let a dedicated thread retry backouts on all such 'bad connections'. But like I said, thats not the most desirable approach.
...
  Topic: Any way to avoid 'auto-commit' on disconnect ?
gupabhi

Replies: 11
Views: 19280

PostForum: IBM MQ API Support   Posted: Tue Sep 01, 2009 2:10 pm   Subject: Any way to avoid 'auto-commit' on disconnect ?
I am talking of a general situation under syncpoint. This is a fundamental problem with the way the api behaves. If the backout fails what action can you take? Ideally you'd want to close the connect ...
  Topic: Any way to avoid 'auto-commit' on disconnect ?
gupabhi

Replies: 11
Views: 19280

PostForum: IBM MQ API Support   Posted: Tue Sep 01, 2009 7:43 am   Subject: Any way to avoid 'auto-commit' on disconnect ?
The MQ java base api has a behavioral quirk, in that it auto-commits on a call to MQQueueManager.disconnect() . I believe this a bit weird and dangerous because of the reasons I mention below. Is the ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.