Re: deadLetterHandleNewException(false) seems to not work as expected

2016-01-11 Thread lchdev
Hi, But that's exactly what I found confusing: the option name "deadLetterHandle*New*Exception" suggests that we are configuring the behavior of the DeadLetterChannel in the case of a new exception only, while we actually also disable the handling of the original exception... The unit test you li

FTP and SFTP connect method difference

2016-01-11 Thread Kasim Sert (Ibtech-Software Infrastructure)
Hi, I have a camel application which polls thousands of folders in both ftp and sftp modes. Because of too many connection overhead, I am trying to pool connections. I have tried to pool RemoteFileOperations objects using DefaultServicePool utility and it seem to be working good for sftp case.

Howto route to a remote FTP work folder then move to the remote FTP final folder

2016-01-11 Thread bbuzzard
Would someone explain to me how to set up a Spring route that routes a file to a remote FTP work folder and once the file has been delivered it is moved to the remote FTP final (production) folder? -- View this message in context: http://camel.465427.n5.nabble.com/Howto-route-to-a-remote-FTP-wo

Re: Howto route to a remote FTP work folder then move to the remote FTP final folder

2016-01-11 Thread Gregoire Autric
Hi Billy, Have you ever see our camel-example-ftp sample project ? https://github.com/apache/camel/tree/master/examples/camel-example-ftp but your xml spring route should look like : http://camel.apache.org/schema/spring";> ftp://rem

Re: Howto route to a remote FTP work folder then move to the remote FTP final folder

2016-01-11 Thread bbuzzard
Thanks for the quick response Greg. Let me see if I can clarify what has to happen. The remote FTP site (only one site) has two sub folders: one for staging the file called "/work" and one for production called "/prod". The remote FTP admin wants me to transfer our local file to the remote "/wor

Re: Howto route to a remote FTP work folder then move to the remote FTP final folder

2016-01-11 Thread Gregoire Autric
Hi, Billy, Copy that, please check this option : http://camel.apache.org/file2.html#File2-Writingfilethroughthetemporarydirectoryrelativetothefinaldestination see u On Mon, Jan 11, 2016 at 5:45 PM, bbuzzard wrote: > Thanks for the quick response Greg. Let me see if I can clarify what has >

Re: Howto route to a remote FTP work folder then move to the remote FTP final folder

2016-01-11 Thread bbuzzard
Super answer Greg. I just wasn't sure that the property would work on an FTP component. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Howto-route-to-a-remote-FTP-work-folder-then-move-to-the-remote-FTP-final-folder-tp5776148p5776154.html Sent from the Camel - Use

Special characters in String replacement using

2016-01-11 Thread ldelio
Hello. I am having trouble trying to do a replaceAll, using Camel from xml for a Spring route. I am trying to replace a namespace declaration for example: from *old="oldNamespace"* to *new="newNamespace"* Currently using this code, but it's now working properly: / ${body.replaceAll("old=&.

Is there an Apache Camel FTP server component available ?

2016-01-11 Thread Jack Ding
Hi, Could anybody advise if there is an Apache Camel FTP server component available? Thanks!

Re: Is there an Apache Camel FTP server component available ?

2016-01-11 Thread Willem Jiang
No, we don’t have the Camel FTP server component. If you want to consume the file from the FTP server, you can just use camel ftp component directly. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On J

Starting order for Consumers and Producers

2016-01-11 Thread Ravi Nallappan
Hi, Is it by design that all producers starts before starting consumers? I have created custom server and client endpoints. Custom server endpoints supposed to start and listen to a port, followed by custom client producer supposed to bind to the port. From my observation, client producer always

Re: Camel jetty filtersRef how to set init parameters for filter

2016-01-11 Thread Willem Jiang
I can reproduce the issue, so I just fill a JIRA[1] to add a new option of initParameters to the jetty endpoint uri. You can setup those parameters for your filter. [1]https://issues.apache.org/jira/browse/CAMEL-9501  -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http:/

Re: Missing JmsQueueEndpoint.queueSize() method in 2.16.1

2016-01-11 Thread Stijn Haezebrouck
Thanks, JmsQueueEndpoint.getExchanges().size() solution worked for me. So I switched back version 2.16.1 using .getExchanges().size(). I am still troubled with the fact that I cannot access a method (queueSize()) which is exported via JMX, documented in Javadoc and available under 2.15.5 though.