I was just looking through the latest code for org.apache.camel.model.rest.RestBindingDefinition and I am not quite sure how this works so I'd appreciate if someone can explain it to me.
createProcessor() method looks up both JSON data formats using the same name: DataFormat json = context.resolveDataFormat(name); DataFormat outJson = context.resolveDataFormat(name); And further down, it sets the properties for "json" and then "outJson". Now I am wondering if that name resolves to the same DataFormat object (especially when you have RestConfiguration.jsonDataFormat set), what stops setting "outJson" properties, such as unmarshalType, not overriding the properties we just set for "json"? -- View this message in context: http://camel.465427.n5.nabble.com/RestBindingProcessor-JSON-Data-Format-Config-tp5757103.html Sent from the Camel - Users mailing list archive at Nabble.com.
