camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vss123 <>
Subject Retry based on HTTP response codes
Date Wed, 27 Mar 2013 14:11:42 GMT

We use camel 2.10.3 with Scala DSL.

We have route that does a http post. We want to retry based on the response
For e.g. no retries 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:
Sent from the Camel - Users mailing list archive at

View raw message