Re: Camel can't Route Topic

2015-02-09 Thread Morgan Hautman
Hello Zaid, Since you're using ActiveMQ I recommend using this component: http://camel.apache.org/activemq.html On 10/02/2015 5:54, zbwadud wrote: Dear all, I am having issue with camel context route. My route should connect to topic and consume from topic but it always create and consume from

Camel can't Route Topic

2015-02-09 Thread zbwadud
Dear all, I am having issue with camel context route. My route should connect to topic and consume from topic but it always create and consume from topic. For topic, I used following uri format *amqp:topic:Destination* camel.apache.org It will very helpful if

Re: Is it possible to intercept camel proxy calls?

2015-02-09 Thread James Carman
To be fair, I just did exactly that for a client, so it was fresh on my mind at the time. :) Good luck! Glad to help. On Mon, Feb 9, 2015 at 2:09 PM, lutfijd wrote: > went with the first suggestion, works like a charm, thanks. (why didn't i > think of that) > > > > -- > View this message in co

Re: Is it possible to intercept camel proxy calls?

2015-02-09 Thread lutfijd
went with the first suggestion, works like a charm, thanks. (why didn't i think of that) -- View this message in context: http://camel.465427.n5.nabble.com/Is-it-possible-to-intercept-camel-proxy-calls-tp5762472p5762515.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [Camel SQL] CamelSqlRetrieveGeneratedKeys attribute delete all headers

2015-02-09 Thread Grzegorz Grzybek
Are you using batch statements? (batch=true in endpoint URI) We do copy headers IN→OUT ( https://github.com/apache/camel/blob/camel-2.14.x/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlProducer.java#L124-L125) but it seems only in non-batch mode. If this is a case (or if it

Cross RouteBuilder exceptions

2015-02-09 Thread James Green
Our application contains a few RouteBuilders. I understand I can use onException across these but only by having them chained together through OO inheritance. Is there an alternative means? Ideally the RouteBuilder that constructs our public interface ought to be catching and mapping exceptions t

[Camel SQL] CamelSqlRetrieveGeneratedKeys attribute delete all headers

2015-02-09 Thread fabrizio.spataro
Hello everyone, I am using Camel (2.14.1) SQL component, with *CamelSqlRetrieveGeneratedKeys=true*. After an insert operation i have a correct CamelSqlGeneratedKeyRows value but *I am lost all my previous header params.* Is it a bug? There is any param to preserve my headers? Tnkx -- View t

Re: Route with JMS down

2015-02-09 Thread James Green
I have removed all transaction handling both from the route and from the ActiveMQ connection factory. I still see: 09/Feb/2015 15:58:40,159- DefaultErrorHandler: Failed delivery for (MessageId: ID-ngw-smtp-01-50108-1423497456378-0-7 on ExchangeId: ID-ngw-smtp-01-501 08-1423497456378-0-11). On deli

How do I configure Apache Camel to sequentially execute processes based on a trigger file?

2015-02-09 Thread carlrivers
I have a situation where an external system will send me 4 different files at the same time. Let's call them the following:- customers.xml (optional)- addresses.xml (optional)- references.xml (optional)- activity.xml (trigger file)When the trigger file is sent and picked up by Camel, Camel should t

Re: Route with JMS down

2015-02-09 Thread Claus Ibsen
Hi If you use ActiveMQ you may need to turn off asyncSend http://activemq.apache.org/async-sends.html On Mon, Feb 9, 2015 at 4:20 PM, James Green wrote: > We have a route from a REST endpoint into a JMS (InOnly) endpoint. > > We took down the broker to see what would happen. Turns out HTTP clien

Route with JMS down

2015-02-09 Thread James Green
We have a route from a REST endpoint into a JMS (InOnly) endpoint. We took down the broker to see what would happen. Turns out HTTP clients hang waiting for a response (for several minutes) while a load of stack traces are logged by Camel: 09/Feb/2015 15:07:52,677- DefaultErrorHandler: Failed del

how do I check the master/examples ?

2015-02-09 Thread hoboy
How do I check out https://github.com/apache/camel/tree/master/examples/ to may local machine ? -- View this message in context: http://camel.465427.n5.nabble.com/how-do-I-check-the-master-examples-tp5762506.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Duplicate route id detection and Spring Boot integration

2015-02-09 Thread Christian Bauer
https://issues.apache.org/jira/browse/CAMEL-8325 On February 8, 2015 7:35:56 PM GMT+01:00, Claus Ibsen wrote: >On Fri, Feb 6, 2015 at 10:43 AM, Christian Bauer > wrote: >> Hi everyone, >> >> recently we had a typo in one of our route definitions that resulted >in a duplicate route ID but no erro