Hello!
Prompt how to make a route for sending data via http component so that
1) if there was an error sending (for example
org.apache.http.conn.HttpHostConnectException: Connection timed out) then
run my process and then repeat sending
2) if the answer is not like (for example HTTP_CODE != 200) then run my
process and then repeat sending
Thanks in advance,
Artem
Prompt how to make a route for sending data via http component so that
1) if there was an error sending (for example
org.apache.http.conn.HttpHostConnectException: Connection timed out) then
run my process and then repeat sending
2) if the answer is not like (for example HTTP_CODE != 200) then run my
process and then repeat sending
Thanks in advance,
Artem