XPath in camel 3.0

2019-12-04 Thread Jimmy Praet (KSZ-BCSS/eHEALTH)
Hi, We are upgrading our applications to camel 3.0. We were using the xpath() methods from RouteBuilder in our code as follows: .setProperty("postIntegrationCheck", xpath("//version[.='PostIntegrationCheck']").booleanResult()) .setProperty("ssinResult", xpath("/ssinResult").nodeResult()

Re: XPath in camel 3.0

2019-12-04 Thread Claus Ibsen
Hi Yes you should do as last shown importing from camel-xpath when you want to do a bit more configurations On Wed, Dec 4, 2019 at 10:03 AM Jimmy Praet (KSZ-BCSS/eHEALTH) wrote: > > Hi, > > We are upgrading our applications to camel 3.0. We were using the xpath() > methods from RouteBuilder in

Change from ApacheMQ to ArtemisMQ

2019-12-04 Thread Tobias Letschka
Hi camel riders, I have a question. I’m trying to change my application from apacheMQ to Artemis. I’m already using ApacheMQ and Springboot. At the moment I use this @Configuration. Do you know a better one? @Configuration public class ActiveMQ { @Value("${artemis.username}") String us

Too many connections with Camel and RabbitMQ

2019-12-04 Thread Alessandro Hoss
Hello, I'm using camel 2.24.2 with camel-rabbitmq in Spring Boot, and I've noticed camel is opening one connection per consumer, plus another connection per producer. Actually I'm having troubles with rabbitmq going down because of too many connections opened (5000+ connections) Is there a way t

Re: Change from ApacheMQ to ArtemisMQ

2019-12-04 Thread ski n
Hi Tobias, "I’m already using ApacheMQ and Springboot" I think you are using ActiveMQ client within a Sprint boot application. For Artemis I suggest trying the SJMS component ( https://camel.apache.org/components/latest/sjms-component.html). Example: org.apache.activemq.artemis.jms.client.Activ

Re: Configuring Jackson for java.time

2019-12-04 Thread Ron Cecchini
Just an update that I did eventually get it. Sweet blessed relief... Thanks to Zoran for a pointer which led to the missing crucial piece. --- As it turns out, it's not enough to simply add the desired time modules to Jackson's ObjectMapper. You also *have* to add the ObjectMapper to any Jac

Re: Change from ApacheMQ to ArtemisMQ

2019-12-04 Thread Claus Ibsen
Hi spring boot has an artemis starter you can use, and then use camel's jms or sjms components, that should be able to plugin and use that. https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/boot-features-messaging.html#boot-features-artemis On Wed, Dec 4, 2019 at 12:16 PM Tobias Letsch

Re: Too many connections with Camel and RabbitMQ

2019-12-04 Thread Claus Ibsen
Hi Sounds like you need to configure some connection pooling. Usually you setup some pooling and configure this to the ConnectionFactory. Try to search for rabbitmq pooled connection factory On Wed, Dec 4, 2019 at 7:00 PM Alessandro Hoss wrote: > > Hello, > > I'm using camel 2.24.2 with camel-r