cancel
Showing results for 
Search instead for 
Did you mean: 

getMessageBytesJavaLangStringBoolean question

0 Kudos

Hello Experts,

I am using getMessageBytesJavaLangStringBoolean to retrieve message payload

This works fine for asynchronous messages.

However for synchronous ones the response contains only the soap envelope, without the payload. Please advise how to get the payload

Kind Regards,

Rayko

Accepted Solutions (1)

Accepted Solutions (1)

Faison
Advisor
Advisor
0 Kudos

Hello Rayko,

Synchronous messages are kept in the memory in the messaging system for monitoring, however, these are not persistent in the database.

To prevent a memory overflow, the payload default is removed, independent of whether the message was processed successfully or with errors.

You can change this behavior using the "syncMessageRemover.removeBody" property.

Only change this for test purposes, and never during productive operation.

Regarding more details, please read KBA 1872758 - How XI/PI messages are persisted in Adapter Engine

Best Regards, Faison

Answers (0)