This post has NOT been accepted by the mailing list yet.
I am new to camel and I am using camel-xmljson (https://camel.apache.org/xmljson.html) component to convert JSON to XML and XML back to JSON and it works well in spring XML. For example
My question is
1. I would like to know if there is any way to map the node names(operand1->op1) in spring XML while unmarshalling without involving any java code. ie
should get unmarshalled to
<numbers> <op1 type="number">5</op1> <op2 type="number">8</op2> </numbers>
2. Would I be able to restructure my xml elements names while unmarshalling to the following
<numbers> <operands> <number>5</number> <number>8</number> </operands> </numbers> during conversion.