Getting Connection is still allocated error during rest api call

2024-03-25 Thread Aditya Kavathekar
Hi Everyone, I recently updated my camel version to 4.4.0 from 3.22.0 and I use xml dsl. Now after upgrade i see this error intermittently and the rest api call fails. Failed delivery for (MessageId: on ExchangeId: xxx). On delivery attempt: 0 caught: java.lang.IllegalStateException: Connect

Re: How to stop aggregate on exception

2024-01-31 Thread Aditya Kavathekar
e. This will result > in aggregations completing on the same thread as the splitter. But I'm not > sure if that means that exceptions in the aggregator bubble up to the > splitter. You'll have to test this. > > > On Tue, Jan 30, 2024 at 11:24 AM Aditya Kavathekar < >

How to stop aggregate on exception

2024-01-30 Thread Aditya Kavathekar
Hello community, I am using camel 3.20.5 in XML DSL. I am trying to achieve batch processing and below is my source code. //Some code //Exception occurs here OnException block here Now here I want to stop the aggregation incase any exception occurs inside it but the aggregator just executes

Kafka consumer is not able to pick events

2024-01-02 Thread Aditya Kavathekar
Hi all, I am using 2 dependencies one is camel-kafka-starter, version - 3.20.5 and the other one is kafka-json-schema-serializer, version 7.5.1. Route sample - Now this route is able to pick events in local env and we are also able to see various logs in local that kafka made connections with

Camel Kafka Consumer Node -1 disconnected error

2023-07-28 Thread Aditya Kavathekar
Hi everyone I am trying to consume from a kafka topic and simply print the body in logs. the code works when I try to connect to a local kafka topic on localhost but I get error when I try to connect to dev1 kafka topic. In the logs I see after my code subscribes to the topic then I get these erro