With the config:
<camel:unmarshal>
<camel:json prettyPrint="true" library="Jackson" />
</camel:unmarshal>
I get:
.. because of Failed to set property: prettyPrint on:
org.apache.camel.component.jackson.JacksonDataFormat@77ab22be. Reason:
java.lang.IllegalArgumentException: Could not find a suitable setter for
property: prettyPrint as there isn't a setter method with same type: [null]
nor type conversion possible: null
at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1364)
at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:122)
at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:327)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128)
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331)
at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:773)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)
at
org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
at
org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
after this upgrade:
- <camel.version>2.13.2</camel.version>
+ <camel.version>2.14.0</camel.version>
jira https://issues.apache.org/jira/browse/CAMEL-7639 says it was fixed for
2.14.0 - but it actually worked before on 2.13.2?
--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen