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 <daniel.lange...@shq.gouv.qc.ca> ha scritto: > Thank's > > -----Message d'origine----- > De : Andrea Cosentino <anco...@gmail.com> > Envoyé : 17 août 2021 14:23 > À : users@camel.apache.org > Objet : Re: xmljson deprecated in camel 3.x > > It's always json-lib > > Il mar 17 ago 2021, 20:12 Daniel Langevin <daniel.lange...@shq.gouv.qc.ca> > 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 <anco...@gmail.com> Envoyé : 17 août 2021 14:00 > > À : users@camel.apache.org 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 > > <daniel.lange...@shq.gouv.qc.ca> 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 > > > > > > > > >