Atomikos Forum

SOA XA Transaction Support

Hi,

I am currently working on a pretty large Enterprise SOA Application project and need to connect different services in a single transaction.  The issue I am encountering is with a node.js service. 

All atomikos transactions are created from a SpringFramework stack (UI requests, JMS, MySql) and this works well.  I now have to call out to some node.js REST APIs which are stateless business logic processes.  The problem is that I am encountering cases where the node.js process needs to call some of the SpringFramework stack APIs (mainly for CRUD operations):

UI --> spring (do something) --> node.js |--> spring (save)
                                        |--> spring (read)

I was wondering if I could pass some sort of transaction id to the node.js processes that would pass it back to the SpringFramework stack which would reconnect to the active XA transaction.  Any help around how this can be done or other ways this can be handled.

Best,
-Eric
Eric Burin des Roziers Send private email
Tuesday, September 27, 2011
 
 
Hi,

You can suspend the transaction in the calling party, get its id, pass this via node.js, then re-establish it on the final end via our Atomikos API.

HTH
Guy Pardon Send private email
Tuesday, September 27, 2011
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics