Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about camel-rest

Read more about camel-rest

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - camel-rest

How to handle 4xx(without retry) and 5xx (with retry) exceptions in camel

I've a camel route which makes API request, the external service may though 4xx or 5xx. I have written HttpOperationFailedException handler to handle all HTTP related exception and I'm retrying all th...
test-img

TechGeek

java

spring-boot

apache-camel

spring-camel

camel-rest

Votes: 0

Answers: 1

Latest Answer

You could try something along the lines of: onException(HttpOperationFailedException.class) .choice() .when(simple("${exception.getStatusCode()} =...
test-img

lbma

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved