Skip to Content
author's profile photo Former Member
Former Member

Delete Messages from Java Stack on PI

Hi,

Does anyone know how to delete messages of the Java Stack on SAP PI?

When I look at the Adapter Engine via the RWB, I see messages that are in Error but older then 6 months to a year.

These messages are of an Async type.

We are in a process of cleaning up the system and we have come across this bridge.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2012 at 03:24 PM

    Message in AF are guided by persistent duration parameter in VM / configtool

    One way to force deletion is

    http://<pihost>:<port>/MessagingSystem/archiving/reorgdb.jsp

    Delete for messages over Retention Policy :

    SAP XI AF CORE --> idmapRemover.checkInterval = 1440 for new messages only

    The default persist duration is 30 days and can be changed with the persistDuration properties of the J2EE service: "SAP XI Adapter: XI"

    table XI_AF_MSG_AUDIT

    Read This

    Note 807615 - Removing/archiving of non-expired messages

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 18, 2012 at 03:32 PM

    Hi Rosh,

    Check this thread http://scn.sap.com/thread/2120896

    You could see there some possibilities for the adapter engine (java stack).

    Good luck and Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2012 at 03:54 PM

    Thanks,

    I will review your recommendatios and get back.

    If there are any other recommendations, please feel free to add.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 19, 2012 at 09:39 PM

    Hello

    Messages in status 'Error' will not be deleted by default. The status of these messages must first be changed to a final status i.e. Successful or Cancelled. See note #872388 Troubleshooting Archiving and Deletion in PI - section 6. Troubleshooting Archiving / Deletion in the Adapter Framework.

    Once the status has been changed, then the messages will be picked up and deleted during the next run of the delete jobs (if you have configured these).

    Regards

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.