Error sending email from Camel application

2017-12-21 Thread Charles Berger
Hi, I have the following route in my application which sends an email based on a template filled out with data from the SingleImageModel class: from(ACTIVEMQ_EMAIL_QUEUE) .routeId(ROUTE_EMAIL_NOTIFICATIONS) .convertBodyTo(SingleImageModel.class) // set subject, fro

Re: Set shutdown timeout with blueprint

2017-12-21 Thread Quinn Stevenson
I just tested a simple route in Karaf 4.0.10 and Camel 2.17.7, and it seems to work. (I apologize for the messy route - it’s just one I had laying around and I’m not actually sure where I got it). Given the route I used, I can create a my.camel.bp.cfg file in the $KARAF_HOME/etc directory and

Set shutdown timeout with blueprint

2017-12-21 Thread Michael Esmann
Hi, I am using Apache Camel 2.17.3 and Karaf 4.0.6. I would like to change the default shutdown startegy timeout with blueprint. It works if I do it like this, with a hardcoded timeout value:     But I would like the timeout to be configurable with a property like this:     If I do it

AW: Camel Clustering

2017-12-21 Thread Burkard Stephan
Hi, For JMS you can simply deploy multiple instances of your module and then they concurrently consume messages from the same queues (not round robin, but parallel processing. No zookeeper needed). Notice that even a single instance can have multiple concurrent consumers. For file endpoints

Re: Camel Clustering

2017-12-21 Thread Claus Ibsen
Hi If you have a copy of the CiA2 book then it has a full chapter on clustering. But in regards to zookeeper-master route-policy then it works with only one node being active and the others are slaves, they are not all active at the same time. What you talk about is more like competing consumers

Camel Clustering

2017-12-21 Thread Ambika Das
Hi, I am looking for out of the box support for clustering in a hybrid environment. What the Zookeeper Route policy provides is a master / slave route policy where the slave becomes active only when master fails. Is there any way of having multiple nodes and let these nodes consume file / mess