Re: Problem with pollEnrich

2012-11-09 Thread Babak Vahdat
org/jira/browse/CAMEL-5784 Hi Claus, I'm so sorry not to raise the JIRA by myself, please excuse me. I've been really really too much busy these days with a couple of dev tasks at the same time. As always thanks for your help and genius advices. Babak > >> >>> public class MyPropertiesResolver extend

Re: Problem with pollEnrich

2012-11-09 Thread Claus Ibsen
opertiesResolver extends DefaultPropertiesResolver { >> @Override >> protected Properties prepareLoadedProperties(Properties properties) { >> // return the passed properties as is to avoid any value trimming taking >> place by default >> return properties; >>

Re: Problem with pollEnrich

2012-11-07 Thread Claus Ibsen
e by default > return properties; > } > } > > And then inside the test injected my own resolver: > > @Override > protected CamelContext createCamelContext() throws Exception { >CamelContext camelContext = super.createCamelContext(); >PropertiesComponent propertiesCom

Re: Problem with pollEnrich

2012-11-07 Thread Babak Vahdat
Component("properties", PropertiesComponent.class); propertiesComponent.setPropertiesResolver(new MyPropertiesResolver()); return camelContext; } Hope this can be helpful for others experiencing the same problem. Babak > >Babak > > > > >-- >View this message in context: >http://camel.465427.n5.nabble.com/Problem-with-pollEnrich-tp5722285.html >Sent from the Camel - Users mailing list archive at Nabble.com.

Problem with pollEnrich

2012-11-07 Thread Babak Vahdat
465427.n5.nabble.com/pollEnrich-consumer-with-selector-td4939908.html I can not make use of any other expression to tell the FTP polling consumer which file I intend to download. I appreciate any hint you could give me. Babak -- View this message in context: http://camel.465427.n5.nab