Re: Using consumer.bridgeErrorHandler won't allow onException() route to execute completely.

2014-04-28 Thread ninadmnaik
Yeah, this works. Thanks Claus ! Don't know how I missed that. -- View this message in context: http://camel.465427.n5.nabble.com/Using-consumer-bridgeErrorHandler-won-t-allow-onException-route-to-execute-completely-tp5750507p5750656.html Sent from the Camel - Users mailing list archive at Nabb

Using consumer.bridgeErrorHandler won't allow onException() route to execute completely.

2014-04-23 Thread ninadmnaik
Hello, We are using "consumer.bridgeErrorHandler=true" in our route, so that if there's an exception during picking up of files, the Camel Error Handler can deal with it. It appears from the documentation and code snippet at: http://camel.apache.org/file2.html (Using consumer.bridgeErrorHandler

Re: Handling FailedToCreateProducerException

2014-01-14 Thread ninadmnaik
This won't work. This will work when camel context is successfully initialized. As I mentioned in my post, I see a org.apache.camel.FailedToCreateProducerException. This prevents camel startup. -- View this message in context: http://camel.465427.n5.nabble.com/Handling-FailedToCreateProducerEx

Handling FailedToCreateProducerException

2014-01-13 Thread ninadmnaik
I have a route which sends a request to a MOM endpoint. Something like: from("direct:serviceRequest").beanRef("serviceName", "methodName"). to("momComponent:" + momServiceDefinitionName). beanRef("serviceName", "methodName"); This route works when the "mom endpoint"

Re: Ftp connection through SOCKS Proxy.

2013-07-18 Thread ninadmnaik
Thanks Willem ! The NET-468 patch was released as a part of the issue: https://issues.apache.org/jira/browse/NET-468 I guess the ticket is still open because they might need some more unit tests. I modified camel-fTP component to support setting the proxy object as well as setting up authenticat

Ftp connection through SOCKS Proxy.

2013-07-16 Thread ninadmnaik
In our project, we need to establish FTP connection through a SOCKS proxy. Since Camel uses Apache Commons Net API underneath for FTP connections, I tried looking into how Commons Net API supports this. Till last year, the only way to achieve this was to set Java's System Properties as explained he

Re: Can Camel Route pick up changes to a properties file at runtime?

2013-07-10 Thread ninadmnaik
Ok. So seems like routes can't be updated. But an existing route can be deleted and a new route added at runtime. http://camel.465427.n5.nabble.com/Update-camel-route-at-runtime-using-config-admin-td4965455.html That kind of answers my question. Thanks. -- View this message in context: http

Can Camel pick up changes to a properties file at runtime?

2013-07-10 Thread ninadmnaik
Hello, I am writing a simple module to FTP files to a remote server. I am using a properties file to read the ftp info such as server, username, password etc. ex: here's how my properties file looks like: ftp.protocol=ftp ftp.host=localhost:2121 ftp.path=files ftp.username=admin ftp.password=adm