Atomikos Forum |
|
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 |