for 4xx and 2 retries for 5xx
We tried using handle[HttpOperationFailedException] but not sure how to get
the response code within that.
Can you help us with whats the best way to handle this case?
--
View this message in context:
http://camel.465427.n5.nabble.com/Retry-based-on-HTTP-response
got /java.util.NoSuchElementException: head of empty list/ when running.
Could you give us ideas on how to go about this?
--
View this message in context:
http://camel.465427.n5.nabble.com/Retry-based-on-HTTP-response-codes-tp5729939p5730016.html
Sent from the Camel - Users mailing list archive
-on-HTTP-response-codes-tp5729939p5730016.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author
with whats the best way to handle this case?
--
View this message in context:
http://camel.465427.n5.nabble.com/Retry-based-on-HTTP-response-codes-tp5729939.html
Sent from the Camel - Users mailing list archive at Nabble.com.