Try with
.marshal().string("{{output.encoding}}")
Though not sure if we support the placeholders there, but give it a try first.
On Thu, May 16, 2013 at 9:06 AM, satspeedy <[email protected]> wrote:
> Hi @all,
>
> my purpose is to make the encoding of marshalling configurable in the
> following route by a property-file.
>
> .process(new ...Processor())
> .marshal().string(simple("${properties:output.encoding}")) // "IBM-273"
> .to()...
>
> I've tried it with simple language...but the string(..)-method do not parse
> this parameter.
>
> Is there any other way to solve this problem?
>
> Best Regards & thanks beforehand.
> satspeedy
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/set-string-marshal-encoding-by-a-property-file-tp5732657.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen