camel-rabbitmq autorecovery causes multiple channels opened

2017-07-06 Thread macdln
I was trying to implement a camel-rabbitmq application which connects to a clustered+ha rabbitmq backend server. The connection is working fine and is able to poll from a mirrored queue. When running the application, 2 threads are created for the rabbitmq connection:

RE: camel route to remote EJB using karaf blueprint

2017-07-06 Thread Matthew Shaw
As an addendum, I think the issue maybe that using jndi and the weblogic initial context is outside the camel context, but the way I am invoking it. Which in turn, will be trying to load the same classes required again, through a completely separate class loader? -Original Message- From

camel route to remote EJB using karaf blueprint

2017-07-06 Thread Matthew Shaw
Hi All, I've been banging my head against the wall now for a week, trying to get a camel route going which consumes a remote service on an EJB2 container in weblogic 10.3. I keep getting class versioning issues between my client and the server.I have the exact same versions of the server jars i

Re: Camel Hystrix rethrow exception in fallback

2017-07-06 Thread Claus Ibsen
If you want hystrix to fail with an exception then do not use onFallback On Thu, Jul 6, 2017 at 7:58 PM, dzielik1 wrote: > Hi, > > I have route (pseudo cod): > > from(direct:start) > .to("direct:a") > .process(Prepare response) > > from(direct:a) > .doTry() > .process(...) > .to(callWebService) >

Camel Hystrix rethrow exception in fallback

2017-07-06 Thread dzielik1
Hi, I have route (pseudo cod): from(direct:start) .to("direct:a") .process(Prepare response) from(direct:a) .doTry() .process(...) .to(callWebService) .process(onWebServiceSuccess) .doCatch() .process(whenException) now I try use Hystrix, so I made subflow (I wan't in hystrix only web service,

Re: SFTP list of files

2017-07-06 Thread Claus Ibsen
Hi Yes as Karel describes is a possible way. Mind that camel-file/ftp is designed for exchanging data via files. Not really as a generic file/ftp component to do a ftp listing, etc. If the aggregation is a bit too much, then you likely would need to build your own java code that uses the ftp cli