5.15 Configuring JMS Correlation ID

JMS message has two properties (column) called Correlation ID and Message Identifier. To set the Correlation ID, use the following sample code:

See Code for Adaptor for SWIFT section in the Technical Integration Guide. SourceEntity srcEntity = new SourceEntity(busName); // already there srcEntity.setCorrelationID("12345"); // corrid to be set (Optional)

Both initial and final feedback are set with same correlation ID while sending response to output queue.

Figure 5-12 JMS Message Output Queue


The following illustration shows the JMS Message Output Queue with the initial and final feedback.