Re: Safely copy exchange body

2015-03-24 Thread Niels
Hey Claus, I already feared there wasn't a generic way. Thanks for confirming it. -- View this message in context: http://camel.465427.n5.nabble.com/Safely-copy-exchange-body-tp5763551p5764691.html Sent from the Camel - Users mailing list archive at Nabble.com.

Safely copy exchange body

2015-03-04 Thread Niels
Hey there, I was hoping I could pick some brain to gather a idea that can work. But first let me explain my intentions. So the idea is to save the body and headers of the exchange for auditing purposes. To get this to work, we're using a Tracer and configured the destination uri to point to a ro

EventNotifierSupport in OSGI environment

2015-01-14 Thread Niels
tp://camel.apache.org/schema/blueprint"; useMDCLogging="true" streamCache="true"> Thanks, Niels -- View this message in context: http://camel.465427.n5.nabble.com/EventNotifierSupport-in-OSGI-environment-tp5761701.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Retrieve route (object) of endpoint passed by EventObject

2015-01-14 Thread Niels
By lookup the source code you mentioned for the ExpressionBuilder I was able to figure out what I needed! Thanks very much, I appreciated you helping me out! -- View this message in context: http://camel.465427.n5.nabble.com/Retrieve-route-object-of-endpoint-passed-by-EventObject-tp5761674p57

Retrieve route (object) of endpoint passed by EventObject

2015-01-14 Thread Niels
inters? Thanks, Niels -- View this message in context: http://camel.465427.n5.nabble.com/Retrieve-route-object-of-endpoint-passed-by-EventObject-tp5761674.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ExchangePatterns ?

2013-08-15 Thread Niels
component itself. I needed to set the bridgeEndpoint to true on the producing endpoint which solved my problem. Thanks Niels Stevens -- View this message in context: http://camel.465427.n5.nabble.com/ExchangePatterns-tp5737308p5737317.html Sent from the Camel - Users mailing list archive at

ExchangePatterns ?

2013-08-15 Thread Niels
to the first route I want to capture the response and pass it on. Since the ExchangePattern is set on an Exchange I would assume setting it back to default InOut would enable me to capture the http response. However that's not the case! I'm confused over here, could anybody explain to me if

Failing FTP Component

2012-07-05 Thread Niels
Hey everybody, I made wrote a little piece of camel to consume a ftp server. But after it was running for some time, it throws an exception, keeps running but doesn't consume anything any more. Also when I start it again and there are a larger number of file waiting to be consumed it will crash a

Failing FTP Component

2012-07-05 Thread Niels
Hey everybody, I made wrote a little piece of camel to consume a ftp server. But after it was running for some time, it throws an exception, keeps running but doesn't consume anything any more. Also when I start it again and there are a larger number of file waiting to be consumed it will crash a

Failing FTP Component

2012-07-05 Thread Niels
Hey everybody, I made wrote a little piece of camel to consume a ftp server. But after it was running for some time, it throws an exception, keeps running but doesn't consume anything any more. Also when I start it again and there are a larger number of file waiting to be consumed it will crash a

Re: Exception FTP Component

2012-01-20 Thread Niels
I changed my routing and added a catch for an exception. I thought everything was running fine but apparently it doesn't. I still get this exception: Caused by: [org.apache.camel.component.file.GenericFileOperationFailedException - Cannot retrieve file: GenericFile[DZ_20120104_DZ_004.PDF] from: E

Re: Exception FTP Component

2012-01-16 Thread Niels
tion en re-encounter the same problem in the logs. Regards, Niels On Jan 16, 2012, at 11:46 AM, Claus Ibsen wrote: > Hi > > Just a note about your Java DSL route. > > What you do looks much more like the Content Based Router (eg if ... > else if ... else if ... else). >

Exception FTP Component

2012-01-16 Thread Niels
In my opinion I think it has something to do with the FTP server itself and not so much with camel. Therefore I'm asking some experts opinion on my issue. And please if you have any remarks on my code, I happy to here them I'm just a novice when it comes to camel. Thanks! Regards, Niels