Hello fellow developers,
I've been trying to use "eGate JMS API" to send messages to non listed (in the collab config) publishing locations ans XA transactions to participate in the Collab transaction...
The docs on this matter are pretty scarce and I was wondering if anyone has done anything like this...
My problem seems to be the transaction I try to join from code is not the same as the collabration's, so I end up having two different transactions running one alongside the other.
Here's a code extract if anyone want's to see....
-----------------------------------------------------------
//getting an Xid and XAResource objects
xid = new com.stc.eways.util.XidImpl();
resource = xaTopicSession.getXAResource();
//trans boundaries
resource.start(xid, XAResource.TMJOIN );
EGate.collabDebug("DBG >>> Starting transaction scope.");
topicPublisher.publish(message);
resource.end( xid, XAResource.TMSUCCESS );
-----------------------------------------------------------
Any help highly appreciated, thanks folks.
Technocat.
I've been trying to use "eGate JMS API" to send messages to non listed (in the collab config) publishing locations ans XA transactions to participate in the Collab transaction...
The docs on this matter are pretty scarce and I was wondering if anyone has done anything like this...
My problem seems to be the transaction I try to join from code is not the same as the collabration's, so I end up having two different transactions running one alongside the other.
Here's a code extract if anyone want's to see....
-----------------------------------------------------------
//getting an Xid and XAResource objects
xid = new com.stc.eways.util.XidImpl();
resource = xaTopicSession.getXAResource();
//trans boundaries
resource.start(xid, XAResource.TMJOIN );
EGate.collabDebug("DBG >>> Starting transaction scope.");
topicPublisher.publish(message);
resource.end( xid, XAResource.TMSUCCESS );
-----------------------------------------------------------
Any help highly appreciated, thanks folks.
Technocat.