<Most proper way to check if all responses are ok ...
# stackoverflow
r
Most proper way to check if all responses are ok in Apache Camel? In a Kotlin app (based on Spring Boot), I have the following endpoint that retrieves data from 2 rest services and aggregate. from("direct:initial") .enrich("direct:$ROUTE_ORDERS", ordersAggregationStrategy) .enrich("direct:$ROUTE_PRODUCTS", productsAggregationStrategy) .split().body() .marshal().json() .to("my-kafka-url") I want to check if both of the responses are ok and then commit the response to Kafka manually. There are some...