You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by est412 <es...@gmail.com> on 2015/06/30 10:45:36 UTC

base64 options

Sorry for such stupid question, but...
How can I set base64 options (for ex. lineLength=10000) from route?
I'm using this ".marshal().base64()" type of construct.



--
View this message in context: http://camel.465427.n5.nabble.com/base64-options-tp5768695.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: base64 options

Posted by est412 <es...@gmail.com>.
Thank you, Claus! It was very helpful!



--
View this message in context: http://camel.465427.n5.nabble.com/base64-options-tp5768695p5768700.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: base64 options

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

There is some overloaded methods that take in options.
Or create a new instance of
org.apache.camel.model.dataformat.Base64DataFormat and configure it,
and use .marshal(df)



On Tue, Jun 30, 2015 at 10:45 AM, est412 <es...@gmail.com> wrote:
> Sorry for such stupid question, but...
> How can I set base64 options (for ex. lineLength=10000) from route?
> I'm using this ".marshal().base64()" type of construct.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/base64-options-tp5768695.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/