Re: camel http4 websphere

2021-11-09 Thread Zoran Regvart
Hi John, On Tue, Nov 9, 2021 at 7:52 PM John Ross wrote: > How can we set camel http4 sslcontextparameters for the keystore that is > configured in the Websphere Application Server? On WebSphere you need to use the com.ibm.websphere.ssl.JSSEHelper API to get the SSLContext which you can supply t

camel http4 websphere

2021-11-09 Thread John Ross
Hi, How can we set camel http4 sslcontextparameters for the keystore that is configured in the Websphere Application Server? Thanks

authentication retries

2021-11-09 Thread Clark Kent Nielsen
Hi, my team and I are experiencing an issue with Camel and SFTP. We've noticed that, when "maximumReconnectAttempts" is set, this applies to authentication failures as well, meaning that Camel will keep trying to connect with the same bad credentials until maximumReconnectAttempts has been reach

Re: XPathBuilder never clears pool

2021-11-09 Thread Otavio Rodolfo Piske
I wouldn't know in this case, as I am not very experienced w/ Spring boot. My .2 cents: try to see if you can reproduce it w/ a plain Camel Main. I have just tried w/ it and you can turn the preCompile flag on and off with it. It would also be simpler to debug a reproducer this way, IMHO. Kind re

Re: XPathBuilder never clears pool

2021-11-09 Thread Mikael Andersson Wigander
Yes, it is included /M ‐‐‐ Original Message ‐‐‐ On Tuesday, November 9th, 2021 at 16:13, Otavio Rodolfo Piske wrote: > Do you have the starter dependency, as described in the documentation [1]? > > 1. > > https://camel.apache.org/components/3.12.x/languages/xpath-language.html#_spring

Re: XPathBuilder never clears pool

2021-11-09 Thread Otavio Rodolfo Piske
Do you have the starter dependency, as described in the documentation [1]? 1. https://camel.apache.org/components/3.12.x/languages/xpath-language.html#_spring_boot_auto_configuration On Tue, Nov 9, 2021 at 3:54 PM Mikael Andersson Wigander wrote: > Tried > > mvn spring-boot:run -Dcamel.languag

Re: XPathBuilder never clears pool

2021-11-09 Thread Mikael Andersson Wigander
Tried mvn spring-boot:run -Dcamel.language.xpath.pre-compile=false Not working. It doesn't stick. Neither adding it to the application.properties file. /M ‐‐‐ Original Message ‐‐‐ On Tuesday, November 9th, 2021 at 14:41, Otavio Rodolfo Piske wrote: > Hi, > > try running your applic

Re: XPathBuilder never clears pool

2021-11-09 Thread Otavio Rodolfo Piske
Hi, try running your application with the JVM property camel.language.xpath.pre-compile set to false. For example: mvn clean package && mvn exec:java -Dexec.mainClass="primeiro.app.camel.MainApp" -Dcamel.language.xpath.pre-compile=false Or the equivalent, using the launcher/script/runtime/etc f

Re: XPathBuilder never clears pool

2021-11-09 Thread Mikael Andersson Wigander
Hi, thanks. creating a ticket now BTW: in the code the XPathBuilder only adds to the pool if the preCompile flag is true. How can I set this to false using @XPath() annotations and see if it behaves different? /M ‐‐‐ Original Message ‐‐‐ On Tuesday, November 9th, 2021 at 10:11, Otavio

Re: XPathBuilder never clears pool

2021-11-09 Thread Otavio Rodolfo Piske
Unless you get an answer correcting me ... I'd say it looks like a bug. If you could create a ticket on Jira with a reproducer, I think we could take a closer look. Kind regards On Tue, Nov 9, 2021 at 9:01 AM Mikael Andersson Wigander wrote: > Hi > > My last question came to this conclusion an

XPathBuilder never clears pool

2021-11-09 Thread Mikael Andersson Wigander
Hi My last question came to this conclusion and therefor I create a new thread here. How and where should the XPathBuilder clear the pool it uses when adding @Xpath() expressions? There's a overridden method doStop() in it but I can't see where/when it is called. I tried to put a breakpoint on