Re: elegant error handling with temporary replyTo ?

2023-01-10 Thread Claus Ibsen
Hi A ticket to tweak the noisy logging https://issues.apache.org/jira/browse/CAMEL-18875 To handle the exception you can configure an exception listener on the jms component On Fri, Jan 6, 2023 at 12:39 PM Claus Ibsen wrote: > You can send a PR to tweak the log to not output the stacktrace.

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Claus Ibsen
Hi Okay so spring-main is using camel-main to run Camel standalone (not Spring Boot etc) and therefore it comes with its own shutdown strategy to ensure the entire JVM shutdown cleanly. You cannot use to define a custom strategy in this situation. You can configure the spring main instance

Re: [VOTE] Release Apache Camel Kamelets 3.20.1

2023-01-10 Thread Otavio Rodolfo Piske
+1 (binding) Thanks! On Tue, Jan 10, 2023 at 3:29 PM Zineb Bendhiba wrote: > +1 (binding) > > > > Le mar. 10 janv. 2023 à 11:44, Andrea Cosentino a > écrit : > > > Hello all: > > > > This is a vote for releasing camel-kamelets 3.20.1 > > > > The release contains fixes and it's updated to

Re: [VOTE] Release Apache Camel Kamelets 3.20.1

2023-01-10 Thread Zineb Bendhiba
+1 (binding) Le mar. 10 janv. 2023 à 11:44, Andrea Cosentino a écrit : > Hello all: > > This is a vote for releasing camel-kamelets 3.20.1 > > The release contains fixes and it's updated to Camel 3.20.1 > > Kamelets release files: >

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Gaurav Kumar
I am using camel-spring-main, i will try changing to camel-main and see if DefaultShudownStrategy comes into action. On Tue, 10 Jan 2023, 17:30 Claus Ibsen, wrote: > How do you start and run Camel? Do you use camel-main / camel-spring-main > or some other way? > As it indicate that if you do

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Claus Ibsen
How do you start and run Camel? Do you use camel-main / camel-spring-main or some other way? As it indicate that if you do then it comes with its own shutdown strategy. On Tue, Jan 10, 2023 at 11:42 AM Gaurav Kumar wrote: > Thanks for your response. > > I have tried setting up in context >

Re: [VOTE] Release Apache Camel Kamelets 3.20.1

2023-01-10 Thread Claus Ibsen
+1 (binding) On Tue, Jan 10, 2023 at 11:46 AM Andrea Cosentino wrote: > Hello all: > > This is a vote for releasing camel-kamelets 3.20.1 > > The release contains fixes and it's updated to Camel 3.20.1 > > Kamelets release files: >

[VOTE] Release Apache Camel Kamelets 3.20.1

2023-01-10 Thread Andrea Cosentino
Hello all: This is a vote for releasing camel-kamelets 3.20.1 The release contains fixes and it's updated to Camel 3.20.1 Kamelets release files: https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/3.20.1 Kamelets staging repository:

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Gaurav Kumar
Thanks for your response. I have tried setting up in context context.setShutdownStrategy(new DefaultShutdownStrategy()); and it is not working. I have configured the strategy in configuration as below ** *< property name ="timeout" value ="30"* ** I am running camel using spring but not

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Claus Ibsen
How do you run Camel? Spring Boot or some other way. Also you should 99% not implement your own shutdown strategy but just configure the out of the box. On Tue, Jan 10, 2023 at 8:38 AM Gaurav Kumar wrote: > Hi Team > I am using camel version 3.14.4 and trying to implement clean shutdown. As >

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Marco Carletti
hello, you can try to set the shutdown properties in the context, trying different combinations as described in the page you linked, for example: context.setShutdownStrategy(new DefaultShutdownStrategy()); context.getShutdownStrategy().setTimeUnit(TimeUnit.MINUTES);