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 » Control the unit of work inside msg flow using java plugin

Post new topic  Reply to topic
 Control the unit of work inside msg flow using java plugin « View previous topic :: View next topic » 
Author Message
Fady
PostPosted: Thu Jan 23, 2003 12:06 am    Post subject: Control the unit of work inside msg flow using java plugin Reply with quote

Novice

Joined: 15 Jan 2003
Posts: 15
Location: Egypt , KSA

Hello :

I'm trying to control the unit of work inside a message flow
in this flow i'm using java plugin node that insert record in Database
and i'm using the class provided with MQSI MBNode that support unit of work and transaction failure handling.
after the java plugin node which insert record in the database i put compute node has the following Exp. Set I = 3/0; cause i need a failure happen.
the message goes to the fail queue prefctly but the Database transaction is not rolled back
bSQLStatement sqls=createSQLStatement("Trans",StrAdd,MbSQLStatement.SQL_TRANSACTION_AUTO);
sqls.execute(assembly);
I'm using the Constant MbSQLStatement.SQL_TRANSACTION_AUTO
which mean transaction commite at the end of the message follow
but it commite in the Database
thank you
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Control the unit of work inside msg flow using java plugin
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.