cancel
Showing results for 
Search instead for 
Did you mean: 

Setting correlation ID in header (DCJMSCorreleationID) for Tibco

Former Member
0 Kudos

For communication via JMS we set the correlation ID during message mapping using a field from the outbound message but. The message contains the correlation id:

...

<sap:DynamicConfiguration SOAP:mustUnderstand="1">

<sap:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSCorrelationID"></sap:Record>ID:EMS-SERVER.7F849230A40AC4:36</sap:Record>

<sap:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSMessageID">MPR</sap:Record>

</sap:DynamicConfiguration>

...

but we get the following error:

MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Dynamic header records are missing/incorrect specified in message: 12232949-e46f-767b-e100-00000ad57c64. Erroneous/Unspecified headers are:\[ DCJMSCorreleationID \]

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Check where you have misspelled that "DCJMSCorreleationID"

Maybe in the channel?

Answers (1)

Answers (1)

Former Member
0 Kudos

If the header attribute for the JMS Message Correlation ID shall be set for example in an UDF one must use the string DCJMSCorreleationID . (Note the e after the l DCJMSCorrel e ationID). We accidently used DCJMSCorrelationID . Thanks Stefan for pointing that out!