cancel
Showing results for 
Search instead for 
Did you mean: 

XPI Adapter: XI Retention Property

Former Member
0 Kudos

Hi Experts,

Can some one please help me by explaining difference between below 2 parameters in Properties of Service XPI Adapter : XI

xiadapter.outbound.persistDuration.default and xiadapter.inbound.persistDuration.default?

If I have increase retention period , do I need to change both these parameters?

Regards,

Sarvjeet

Accepted Solutions (1)

Accepted Solutions (1)

azharshaikh
Active Contributor
0 Kudos

Hi Sarvjeet,

xiadapter.inbound.persistDuration.default property is relevant for Inbound message processing,

While xiadapter.outbound.persistDuration.default property is relevant for Outbound message processing....

These properties determine how long asynchronous messages are to be kept in the database before they can be deleted or archived. The default value is 24 hours.

If you expect a message load that exceeds the maximum database size within 24 hours, you must reduce this value before the first messages are sent, because changes to this value will only affect new messages.

Refer:

Properties for Service XPI Adapter: XI - PI (Process Integration) - SAP Library

Java Service Properties that May Require Changes - Configuring Process Integration (PI) After Instal...

So ideally you need to update both these values..

Hope this helps.

Regards,

Azhar

Former Member
0 Kudos

Hi Azhar,

I have one more doubt:

Retention period inbound,outbound is changed to 2592000000(30days)

Delete job frequency is 1 day.

Now my question is

all messages will be deleted after 1 day or delete job will only work after retention period gets expired i.e messages will deleted after 31 days?

Regards,

Sarvjeet

azharshaikh
Active Contributor
0 Kudos

Hi,

I am not very sure on this...but as per the explanation given in the link, it seems that delete will come into picture only after the retention period is over.

(you can give it a try in Dev and check maybe to confirm)

These properties determine how long asynchronous messages are to be kept in the database before they can be deleted or archived.

Regards,

Azhar

former_member184720
Active Contributor
0 Kudos

>>>all messages will be deleted after 1 day or delete job will only work after retention period gets expired i.e messages will deleted after 31 days?

Messages get's deleted only when "persistDuration" has expired.

Having said that , Please do consider your DB size if you have high message throughput.

If you want to setup archiving then -

http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/11/16/aae-archiving-in-sap-pi-711-with-...

Former Member
0 Kudos

Yes, I have tested in Development system.

Delete Job will work after retention period gets expired.

Thanks all.

Closing the thread

Regards,

Sarvjeet

Former Member
0 Kudos

Yes, I have tested in Development system.

Delete Job will work after retention period gets expired.

Thanks all.

Closing the thread

Regards,

Sarvjeet

azharshaikh
Active Contributor
0 Kudos

Hi Sarvjeet,

Thanks for the updates. Request you to mark the thread as Answered.

Reference

How to close a discussion and why

Regards,

Azhar

Answers (0)