Posted: Thu Jan 23, 2003 12:06 am Post subject: Control the unit of work inside msg flow using java plugin
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
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