cancel
Showing results for 
Search instead for 
Did you mean: 

Resend message via HTTP request after failure.

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

It is an assync interface.

Is it possible to set this parameter just for a specific interface? i don't to change the number of attempts for all interfaces. just for one.

Former Member
0 Kudos

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

Answers (0)