For my Camel environment, I wrote Assimbly docconverter. This is a Java
library to convert between various data formats (including XML2JSON). The
lib is called within a Camel processor. It's open source and on
Github/Maven Repo:

https://github.com/assimbly/docconverter

Raymond


Op di 17 aug. 2021 om 21:40 schreef Daniel Langevin <
[email protected]>:

> Thank's i will check that component !  😊
>
>
>
> -----Message d'origine-----
> De : Andrea Cosentino <[email protected]>
> Envoyé : 17 août 2021 14:29
> À : [email protected]
> Objet : Re: xmljson deprecated in camel 3.x
>
> In the end we were basing the component on a lib with no future and we
> decided to remove this approach. You could have a look at camel-xj too, as
> alternative
>
> Il mar 17 ago 2021, 20:26 Daniel Langevin <[email protected]>
> ha scritto:
>
> > Thank's
> >
> > -----Message d'origine-----
> > De : Andrea Cosentino <[email protected]> Envoyé : 17 août 2021 14:23
> > À : [email protected] Objet : Re: xmljson deprecated in camel 3.x
> >
> > It's always json-lib
> >
> > Il mar 17 ago 2021, 20:12 Daniel Langevin
> > <[email protected]> ha scritto:
> >
> > > HI Andrea,
> > >
> > > I thought the vulnerability had been fixed with version 2.24 and UP
> > >
> > > Can I know the library, so as not to use it for future project?
> > >
> > >
> > > Thank's
> > >
> > >
> > > Daniel
> > >
> > >
> > >
> > >
> > > -----Message d'origine-----
> > > De : Andrea Cosentino <[email protected]> Envoyé : 17 août 2021
> > > 14:00 À : [email protected] Objet : Re: xmljson deprecated in
> > > camel 3.x
> > >
> > > Hello,
> > >
> > > It has been removed for a cve related to a library used in the
> component.
> > >
> > > This is the reason.
> > >
> > >
> > > Il mar 17 ago 2021, 19:58 Daniel Langevin
> > > <[email protected]> ha scritto:
> > >
> > > > Hi,
> > > >
> > > > I'm trying to convert an application from camel 2.17 to camel
> > > > 3.11, and I have a concerned with xmljson.
> > > >
> > > > I don't found any component or data format who directly convert
> > > > from json to XML. In Camel 3.11
> > > >
> > > >
> > > > The much closer I get is when I  take my input  in JSON , convert
> > > > to java.util.hashmap with Jackson an then convert in XML with
> > > > xstream But the XML result is very complicated to exploit
> > > >
> > > > <dataFormats>
> > > > <json id="Json2Map" library="Jackson"
> > > > unmarshalTypeName="java.util.HashMap"/>
> > > > </dataFormats>
> > > > ... body is a JSON string
> > > > <unmarshal><custom ref="Json2Map"/> </unmarshal>
> > > > <marshal><xstream/></marshal>
> > > >
> > > >
> > > > Did I missed something! ???
> > > >
> > > >
> > > > I'm using CAMEL-3.11 in Karaf-4.2.11 with blueprint.
> > > >
> > > > Regards!
> > > >
> > > >
> > > > Daniel Langevin
> > > > Direction de l'assistance et des technologie Direction des
> > > > ressources informationnelles et matérielles
> > > >
> > > >
> > >
> >
>

Reply via email to