After digging the code for a while, I found it is impossible to set the
multiple exceptions into handle method, as it use implicit manifest parameter
to pass the Class related information.
Here is a workaround by calling the onException method directly in the scala
code like this
builder.o
Hi
I just filled a JIRA[1] for it, and will try to fix it today.
[1]https://issues.apache.org/jira/browse/CAMEL-6221
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjia
On Wed, Mar 27, 2013 at 3:30 PM, dhavalsdoshi 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