on 10-28-2011 12:31 AM
Hi all,
Question:
Is it possible to resend a message via HTTP request (http receiver adapter) automatically when it fails the first time?
We send message via HTTP to other system, but sometimes we are not able to connect because the target server is down and we get an error 400.
Then i want to wait for some time and then resend the message automatically.
thanks for your help.
If the interface is async then PI persists all async call and if there is a connection issue due to target system and the message is not successfully processed then Pi will resend automatically for few times. You need to set the parameter in SXMB_Adm for the number of attempts. This is possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
for the parameter suggested by Baskar, this one is for all EO interfaces, and not for only one interface:
in SXMB_ADM, under Integration Engine, parameter are:
Category = TUNING with Parameter = EO_RETRY_AUTOMATIC and value = 1
Category = TUNING with Parameter = IS_RETRY_LIMIT and value = how many retry you want.
but according to me, this is the number of retries before the message was in error (red flag) in SXMB_MONI. Not sure that's what you want. Else there is also such a parameter in Java [See this help|http://help.sap.com/saphelp_nw70/helpdata/en/9f/cbd1413f389c39e10000000a155106/content.htm].
Else a solution could be to restart your Communical Channel Receiver (HTTP) with a certain frequence via availibility-time planning. or the best, should be to have to a scheduler tool which pick up the fact that your CC is in error (due to the fact the receiver system is shut down) and then restart automatically this CC at a cerain frequency. If you have not such a tool, you can eventually create an abap program which check / stop / start a Communication Channel (exactly like a scheduler tool), and do a job on this program.
[http://help.sap.com/saphelp_nw70/helpdata/en/44/2a1a8620323f0ee10000000a114a6b/frameset.htm]
Regards.
Mickael
Edited by: Mickael Huchet on Oct 28, 2011 3:21 PM
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.