You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Martin Stiborský <ma...@gmail.com> on 2012/11/27 10:30:22 UTC

Jackson custom configuration

Hello guys,
how it's possible configure in general Jackson in Camel?
For example, I need to use indentation/DefaultPrettyPrinter for all
marshalled POJO classes by default.

I found this thread:
http://mail-archives.apache.org/mod_mbox/camel-users/201112.mbox/%3CCAPiPqN6+vdfTWavKa7ODOwXB_nNhEUtreys8Bj4Op5jyeAbQYQ@mail.gmail.com%3E
It gives me a way, but still, I don't have working example for my case.

Do you have any hints, please?

-- 
S pozdravem / Best regards
Martin Stiborský

Jabber: stibi@njs.netlab.cz
Twitter: http://www.twitter.com/stibi

Re: Jackson custom configuration

Posted by Martin Stiborský <ma...@gmail.com>.
Thanks, I'll keep my eye on it. I'll check source codes too, to get idea
how it works.


On Fri, Nov 30, 2012 at 1:21 PM, Claus Ibsen <cl...@gmail.com> wrote:

> Hi
>
> I have logged a ticket about this
> https://issues.apache.org/jira/browse/CAMEL-5836
>
> On Tue, Nov 27, 2012 at 10:30 AM, Martin Stiborský
> <ma...@gmail.com> wrote:
> > Hello guys,
> > how it's possible configure in general Jackson in Camel?
> > For example, I need to use indentation/DefaultPrettyPrinter for all
> > marshalled POJO classes by default.
> >
> > I found this thread:
> >
> http://mail-archives.apache.org/mod_mbox/camel-users/201112.mbox/%3CCAPiPqN6+vdfTWavKa7ODOwXB_nNhEUtreys8Bj4Op5jyeAbQYQ@mail.gmail.com%3E
> > It gives me a way, but still, I don't have working example for my case.
> >
> > Do you have any hints, please?
> >
> > --
> > S pozdravem / Best regards
> > Martin Stiborský
> >
> > Jabber: stibi@njs.netlab.cz
> > Twitter: http://www.twitter.com/stibi
>
>
>
> --
> Claus Ibsen
> -----------------
> 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
>



-- 
S pozdravem / Best regards
Martin Stiborský

Jabber: stibi@njs.netlab.cz
Twitter: http://www.twitter.com/stibi

Re: Jackson custom configuration

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

I have logged a ticket about this
https://issues.apache.org/jira/browse/CAMEL-5836

On Tue, Nov 27, 2012 at 10:30 AM, Martin Stiborský
<ma...@gmail.com> wrote:
> Hello guys,
> how it's possible configure in general Jackson in Camel?
> For example, I need to use indentation/DefaultPrettyPrinter for all
> marshalled POJO classes by default.
>
> I found this thread:
> http://mail-archives.apache.org/mod_mbox/camel-users/201112.mbox/%3CCAPiPqN6+vdfTWavKa7ODOwXB_nNhEUtreys8Bj4Op5jyeAbQYQ@mail.gmail.com%3E
> It gives me a way, but still, I don't have working example for my case.
>
> Do you have any hints, please?
>
> --
> S pozdravem / Best regards
> Martin Stiborský
>
> Jabber: stibi@njs.netlab.cz
> Twitter: http://www.twitter.com/stibi



-- 
Claus Ibsen
-----------------
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