On Wed, Mar 27, 2013 at 3:30 PM, dhavalsdoshi <dhaval.do...@gmail.com> wrote: > 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. >
Ah that may be a limitation in the Scala DSL. Feel free to log a JIRA ticket for an enhancement. So the Scala DSL accepts multiple like the Java DSL http://camel.apache.org/support > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Handle-multiple-exceptions-in-scala-dsl-tp5729941.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen