camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssatguru <ssatg...@gmail.com>
Subject issue with CAMEL-10144: Salesforce component now ignores ALL unknown properties …
Date Fri, 22 Jul 2016 17:46:43 GMT
The fix doesn't seem to be working.

As part if this fix the annotation 
@JsonIgnoreProperties(ignoreUnknown = true)
was added to the base class  "AbstractDTOBase"

https://github.com/apache/camel/blob/master/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/AbstractDTOBase.java#L31
<https://github.com/apache/camel/blob/master/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/AbstractDTOBase.java#L31>
 

Unfortunately this annotation  has not been defined as "@Inherited" and 
thus is not inherited by the sub classes.

Maybe this annotation should be added to "sobject-pojo.vm" so that it gets
added to each of the generated classes 

https://github.com/apache/camel/blob/master/components/camel-salesforce/camel-salesforce-maven-plugin/src/main/resources/sobject-pojo.vm
<https://github.com/apache/camel/blob/master/components/camel-salesforce/camel-salesforce-maven-plugin/src/main/resources/sobject-pojo.vm>
 




--
View this message in context: http://camel.465427.n5.nabble.com/issue-with-CAMEL-10144-Salesforce-component-now-ignores-ALL-unknown-properties-tp5785370.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message