Re: Retry based on HTTP response codes

2013-03-28 Thread Claus Ibsen
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

Re: Retry based on HTTP response codes

2013-03-28 Thread vss123
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

Re: Retry based on HTTP response codes

2013-03-28 Thread Claus Ibsen
-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

Retry based on HTTP response codes

2013-03-27 Thread vss123
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.