camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: set string marshal encoding by a property-file
Date Thu, 16 May 2013 07:17:35 GMT
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 <satspeedy@hotmail.com> 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: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message