Re: Retry based on HTTP response codes

2013-03-28 Thread Claus Ibsen
; 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 at Nabble.com. -- Claus Ibsen ---

Re: Retry based on HTTP response codes

2013-03-28 Thread vss123
dled(true).onWhen(bean(classOf[ReThrower], "doIt")) We 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-tp5729939p573

Re: Retry based on HTTP response codes

2013-03-28 Thread Claus Ibsen
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: > http://came

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.