Re: Refering implicitly to routeContext

2013-04-02 Thread edvicif
I like both idea. With the second one the problem is that it doesn't have this silent extension capability what I want :( Shall I create a JIRA task of this? -- View this message in context: http://camel.465427.n5.nabble.com/Refering-implicitly-to-routeContext-tp5730047p5730204.html Sent from

Refering implicitly to routeContext

2013-03-28 Thread edvicif
Hi I want to develop an interceptor, which I can turn on on demand using spring DSL, by adding the xml file to the spring configuration list. So what I want to have myInterceptor.xml Sometimes I want to run configs: normal-config.xml but sometimgs normal-config.xml,myInterceptor.xml I

Re: Thread leak when create pollEnrich

2012-12-04 Thread edvicif
The problem is that I'm consuming through sftp. My problem is that I see that the thread count is increasing with the template and the dynamic routing solution. As the unused endpoint after it consumed the file not free up. I've experienced this with the consumer template as well. Is there a way

Cannot use fileName property for path extension

2012-07-16 Thread edvicif
Hi! I wanted to use poll enrich to pick up different files from host, based on the path and filename. I was thinking to have something like: file:/?fileName=${in.body} Where body is an absolute path of the file. I wasn't able to make it work. I've created a unit test, where I set up three file.

Re: Prevent done file deletion after file consumption

2012-04-26 Thread edvicif
Ticket generated under: https://issues.apache.org/jira/browse/CAMEL-5224 -- View this message in context: http://camel.465427.n5.nabble.com/Prevent-done-file-deletion-after-file-consumption-tp5665345p5667191.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Prevent done file deletion after file consumption

2012-04-26 Thread edvicif
Ok. I create a JIRA. Because with noop=true I expect not even done files got deleted. -- View this message in context: http://camel.465427.n5.nabble.com/Prevent-done-file-deletion-after-file-consumption-tp5665345p5667144.html Sent from the Camel - Users mailing list archive at Nabble.com.

Prevent done file deletion after file consumption

2012-04-25 Thread edvicif
Hi I like to configure the camel file consumer, that it should leave done files alone. We are consuming files from a shared area and if I delete the done file I could damage other consumers behaviour. Is there a way to tell camel not to that? noop=true seems uneffective. The duplicate consumpti

Re: How to grab a (only one) file with camel ?

2012-02-23 Thread edvicif
I have a solution. Not sure this is the final form. Dynamic Router Factory I've created a DynamicRouteBuilder. Which dynamically create a route, with a direct entry point and a configurable exit point. class DynamicRouteBuilder extends RouteBuilder{ private final String enrichUri; privat

Re: Synchronizing event with asynchronous route

2012-02-22 Thread edvicif
You mean http://camel.apache.org/maven/camel-2.7.0/camel-core/apidocs/org/apache/camel/impl/DefaultInflightRepository.html DefaultInflightRepository , what used at durring shutdown? I'll take a look. -- View this message in context: http://camel.465427.n5.nabble.com/Synchronizing-event-with-asyn

Synchronizing event with asynchronous route

2012-02-21 Thread edvicif
Hi I have a synchronization issue, which I wasn't able to sort out with core camel components. I was wondering someone has a better solution. I had a synchronous route: daily close message Storing messages, happens all day. The order of the store messages doesn't count, but the close mess