-
1. Re: Replace JSON node name through Camel transformation
bfitzpat Jan 20, 2016 9:55 AM (in response to ramandeep)Unfortunately this is not currently available in SwitchYard in the 2.0.x version, but we are in the process of implementing changes for the next version (2.1.0) that will support it. You can see that ongoing work in SWITCHYARD-2855. With those changes in place you'll be able to use the Camel Editor and Data Transformation to do exactly what you are looking for.
-
2. Re: Replace JSON node name through Camel transformation
ramandeep Apr 27, 2016 4:36 AM (in response to bfitzpat)Hi All ,
I have been trying to do Json2Json dozer transformation in Camel . However I am facing the below error
org.dozer.MappingException: Source object must not be null at org.dozer.util.MappingUtils.throwMappingException(MappingUtils.java:87) at org.dozer.util.MappingValidator.validateMappingRequest(MappingValidator.java:37) at org.dozer.util.MappingValidator.validateMappingRequest(MappingValidator.java:49) at org.dozer.MappingProcessor.map(MappingProcessor.java:103) at org.dozer.MappingProcessor.map(MappingProcessor.java:99) at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:120) at org.apache.camel.component.dozer.DozerProducer.process(DozerProducer.java:79)
I got a link where someone faced a similar Issue in Json2xml transformation . The link is https://issues.jboss.org/browse/FUSETOOLS-1395.
However I am not able to get which Jar needs to be included to fix this Issue . I would appreciate any help ,I am quite new to Camel and dozer transformation so awaiting help from the community.
Thanks !!
Ramandeep
-
3. Re: Replace JSON node name through Camel transformation
tcunning Apr 27, 2016 2:31 PM (in response to ramandeep)Raman,
Are you seeing this at runtime or in the tooling? Do you have a small example or steps to reproduce?
-
4. Re: Replace JSON node name through Camel transformation
ramandeep Apr 28, 2016 11:07 PM (in response to tcunning)Hi Tom ,
The Issue is resolved , after taking the latest dependencies , and creating a new project
-Ramandeep