You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Jeremy Ross <je...@gmail.com> on 2020/05/22 15:31:07 UTC
GSON unmarshalTypeName
Hi all,
Using the GSON data format, is it possible to specify unmarshalTypeName for
each invocation of unmarshal()?
Re: GSON unmarshalTypeName
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
There is a dataformat component which you can call with dynamic parameters.
On Fri, May 22, 2020 at 5:38 PM Andrea Cosentino <an...@gmail.com> wrote:
>
> Hello,
>
> No. Unmarshall expect a dataformat, a dataformat definition or a reference
> to a dataformat.
>
> So you'll have to define multiple dataformats for each unmarshallTypeName.
>
> Il giorno ven 22 mag 2020 alle ore 17:31 Jeremy Ross <
> jeremy.g.ross@gmail.com> ha scritto:
>
> > Hi all,
> >
> > Using the GSON data format, is it possible to specify unmarshalTypeName for
> > each invocation of unmarshal()?
> >
--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Re: GSON unmarshalTypeName
Posted by Andrea Cosentino <an...@gmail.com>.
Hello,
No. Unmarshall expect a dataformat, a dataformat definition or a reference
to a dataformat.
So you'll have to define multiple dataformats for each unmarshallTypeName.
Il giorno ven 22 mag 2020 alle ore 17:31 Jeremy Ross <
jeremy.g.ross@gmail.com> ha scritto:
> Hi all,
>
> Using the GSON data format, is it possible to specify unmarshalTypeName for
> each invocation of unmarshal()?
>