Re: Camel crashes upon ActiveMQ shutdown

2012-03-04 Thread ShlomiJ
Claus Ibsen-2 wrote > Is Camel embedded in the same JVM as the ActiveMQ The broker service is not embedded in the same JVM. Christian Schneider wrote > You could try to set maxReconnectAttempts to e.g. 2. Then activemq will > try two times and then return to camel. Camel will then also try to >

Re: Propogate CXF Exception to Camel

2012-03-04 Thread Willem
Can I have a look at your cxf:bean configuration? CxfProducer should be able to throw the exception out. Willem -- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjia

Re: Welcome Bilgin Ibryam as Apache Camel committer

2012-03-04 Thread Willem
Welcome Bilgin :) Willem -- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang On Mar 2, 2012, at 1:29 AM, Christian Mueller wrote: > Two day

Re: Accessing Endpoint within bean

2012-03-04 Thread Willem
Hi, You can take a look at the ProducerTemplate[1] which can be used directly in your bean class. [1]http://camel.apache.org/producertemplate.html Willem -- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http:/

Accessing Endpoint within bean

2012-03-04 Thread Fitzcaraldo
Hi I want to develop a bean that will write a copy of the message at various points passing through a Camel route. Something like as follows: from(foo:bar).bean("MyClass", "input") .to(foo:bar).bean("MyClass", "output") Inside the MyClass bean I want to be able to write to a jms log queue. Is

Re: Global exception not invoked in case of Exception fired while iterating through File Splitter

2012-03-04 Thread Nilesh Soni
Hi Clause, I am writing this mail once again because i feel that issue no 4482 is not resolved yet. I am attaching the test case written by you/your team member. I feel that streaming() is the main culprit because of which the exception is not getting caught. Please run the attached test case as it

Re: Camel crashes upon ActiveMQ shutdown

2012-03-04 Thread Christian Schneider
As far as I know the failover transport makes a route seem to "hang" if no server is available as the connect call waits till a broker is available again. Typically this should only halt the route and not the whole process. You could try to set maxReconnectAttempts to e.g. 2. Then activemq will

Re: Camel crashes upon ActiveMQ shutdown

2012-03-04 Thread Claus Ibsen
Hi Is Camel embedded in the same JVM as the ActiveMQ. Or do you use a remote ActiveMQ broker running on another box/JVM? If its embedded you can take a look at this example, where you need to use depends-on attribute in Spring XML to specify ordering https://svn.apache.org/repos/asf/camel/trunk/e