camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davsclaus <>
Subject Re: Need to use Spring DSL instead of Java DSL for a specific use case
Date Wed, 09 Feb 2011 05:42:46 GMT

Don't use the setBody inside setProperty as its not allowed. You should do
like this:

<setProperty propertyName="data"> 

If you use Camel 2.3 or better you can convert the body to the type you

<setProperty propertyName="data"> 

Instead of simple you can use any of the scripting languages if you need
more power

But then you need to add more JARs to your classpath.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message