Re: Camel 4.0 upgrade causes SEDA Hang

2023-08-29 Thread Tim Janusz
Otavio, I was able to create a small spring boot web application that demonstrates the issue.. Hopefully you can check it out and see what could be possibly wrong.. This app is super slimmed down version of what our real application does but it demonstrates the same issue. I created it in my pub

回复: Re:InaccessibleObjectException issue

2023-08-29 Thread Xu Bill
Thanks, Matt it seems that it is the only way to solve this then... i added an environment variable named "_JAVA_OPTIONS", (which may be a bad practice) and gave its value "--add-opens=java.base/java.lang=ALL-UNNAMED" after then, apps started successfully. i also noticed that shell executables

Re: On error repeat

2023-08-29 Thread Marat Gubaidullin
You do not need onException if you have an errorHandler (see below). If an error happens, Camel retries 5 times and if all fail then send a message to deadLetterUri. You might set another route in deadLetterUri. - routeConfiguration: errorHandler: id: errorHandler-7273 deadLetterCh

Re: On error repeat

2023-08-29 Thread Zmrzlý , Daniel
Hello Marat, I saw your example, but I still do not understand. Can you be more specific? This is my code from camel.yaml file: - routeConfiguration: onException: - onException: exception: - java.lang.Exception id: onException-6d2c steps: