mocking sftp using CamelTestSupport in pollEnrich

2014-05-06 Thread dhavalsdoshi
Hi, *Our Usecase:* On a certain trigger i.e. one file being touched in a particular location. On this we want to fetch a file from sftp server and then put it on a local file system. We are achieving this in the following way from(

Handle multiple exceptions in scala dsl

2013-03-27 Thread dhavalsdoshi
Hi, What's the equivalent syntax in Scala DSL for doing the following Java DSL onException(IOException.class, SQLException.class, JMSException.class).maximumRedeliveries(5) Scala DSL only has handle[T] which can take only one exception type, I believe.Please help. -- View this message in c