We are trying to achieve globally coordinated transaction behaviour in message flows involving integration with our application using custom JCA resource adapters and user defined nodes (UDN). Now our custom JCA resource adapters have the XA transaction interfaces implemented. We have developed user defined nodes (UDN) for the inbound and outbound integration scenarios with our application. Now we want to achieve globally coordinated transaction for a message flow involving MQInput->Compute->JDBC->UDN->JMSOut nodes in sequence.
My questions are
1) How do I enlist my JCA resource adapter as a participating resource manager in WMQ Queue Manager ?
2) How do I implement Automatic Transaction behaviour in UDN implementation ?
Any pointers is appreciated.