Re: Processor data persistence during route stop

2024-06-06 Thread Mark Nuttall
gt; processor. Otherwise we will have to include DB related jars/code to do the > same what Camel already does. > > Thank you, Jan > > > -Original Message- > > From: Claus Ibsen > > Sent: Thursday, June 6, 2024 1:16 PM > > To: users@camel.apache.org >

RE: Processor data persistence during route stop

2024-06-06 Thread Jan Bares, WOOD & Co.
t; To: users@camel.apache.org > Subject: Re: Processor data persistence during route stop > > Hi > > That is something you need to implement yourself to have this kind of > persistence. Your processor or beans can extend ServiceSupport (or > implement Service) from Camel then you have doStart/

Re: Processor data persistence during route stop

2024-06-06 Thread Claus Ibsen
Hi That is something you need to implement yourself to have this kind of persistence. Your processor or beans can extend ServiceSupport (or implement Service) from Camel then you have doStart/doStop methods that Camel calls for you. On Thu, Jun 6, 2024 at 11:18 AM Branko Husarik, Wood & Co. wro

Processor data persistence during route stop

2024-06-06 Thread Branko Husarik, Wood & Co.
Hello, I would like to ask about the proper saving and loading of processor variables to the database at the route stop. I am trying to use RoutePolicySupport to find out the system shutdown, but I don't see any nice solution for how to persist the state of some processors that could be restore