Duplicate bean definition error, using xml endpoint tag with spring boot application

2021-11-10 Thread lb
Trying to use the tag in a Spring Boot 2.5.6 application, Spring refuses to start, but terminates with an error: The bean 'myendpoint' could not be registered. A bean with that name has already been defined and overriding is disabled. camel.xml, made visible by @Configuration

AW: EXT:Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread Zinner, Frank Uwe Alfred
Hi JB, a workaround would be great, how can I blacklist the JMS bundle? By deprecated you mean the activemq-camel implementation from ActiveMQ I guess and not the Camel ActiveMQ Component or am I wrong? Regards Frank Von: JB Onofré Gesendet: Mittwoch, 10.

Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread JB Onofré
By the way, you can use camel-JMS with ActiveMQ as camel-activemq is deprecated. Regards JB > Le 10 nov. 2021 à 15:40, JB Onofré a écrit : > > Camel jms force use of JMS 2 whereas activemq only supports jms 1. So we > have a conflict. ActiveMQ however works with JMS 2 so we can >

RE: How to make a bean thread safe?

2021-11-10 Thread Mattern, Alex
Mikael Andersson Wigander, While it is not a Camel solution, large documents can be parsed using a streaming Xpath parser. This can be implemented using SAX. This would work in your use case since the Xpath in question are not performing lookback. This way the entire document is never read

Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread JB Onofré
Camel jms force use of JMS 2 whereas activemq only supports jms 1. So we have a conflict. ActiveMQ however works with JMS 2 so we can override/blacklist the JMS 1 bundle. I’m in the train now but I can provide a workaround. Regards JB > Le 10 nov. 2021 à 15:34, Zinner, Frank Uwe Alfred >

Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread Zinner, Frank Uwe Alfred
Hello, I'm having trouble to install Apache Camel 3.7.5 with camel-activemq (3.7.5), camel-jms (3.7.5) and camel-amqp (3.7.5) in Apache Karaf 4.2.10. I used a fresh Karaf 4.2.10 Binary distribution and added ActiveMQ 5.16.2 along with Camel 3.7.5 and was able to install ActiveMQ with Camel

Re: XPathBuilder never clears pool

2021-11-10 Thread Otavio Rodolfo Piske
Thank you. In this case, please, can you open a ticket on our Jira? If you can add a reproducer that would be very helpful.Any additional information and steps are appreciated as well Thanks! On Wed, Nov 10, 2021 at 9:28 AM Mikael Andersson Wigander < mikael.andersson.wigan...@pm.me> wrote: >

Re: XPathBuilder never clears pool

2021-11-10 Thread Mikael Andersson Wigander
Hi Thx for explaining, however then there's a bug in Camel Spring Boot implementation because I can't see anything that overrides the values in the XPathBuilder code. The preCompile is hardcoded directly in the property assignment in the class… BTW: the cli for overriding in Spring Boot 2 is: