Skip to Content

getMessageBytesJavaLangStringBoolean question

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,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 12 at 04:09 AM

    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

    Add comment
    10|10000 characters needed characters exceeded