Hi
Does the individual part which carries the json payload have
Content-Type: application/json ?
If yes - can JacksonJaxbJsonProvider convert it, is Status type a JAXB
bean ?
Finally, I do not recall exactly now but the older CXF versions could
not handle Jackson 2.x but I'm assuming it works for you in other cases
if you have it registered.
Sergey
On 28/08/15 11:22, kanu.emeka wrote:
Hello Sergey,
Please see the relevant configuration in my blueprint xml.
<camel-cxf:rsServer id="rsServer"
address="http://0.0.0.0:${stat.port}/stat-service"
loggingFeatureEnabled="true" loggingSizeLimit="20">
<camel-cxf:providers>
<bean id="jacksonProvider"
class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider">
<property name="mapper" ref="livUpObjectMapperFactory"/>
</bean>
<ref component-id="orgCORSFilter"/>
<bean id="oauthFilter"
class="org.apache.cxf.rs.security.oauth2.filters.OAuthRequestFilter">
<property name="tokenValidator" ref="tokenValidator"/>
</bean>
</camel-cxf:providers>
</camel-cxf:rsServer>
I already have a jackson provider configured. Do I need to provide another
provider for Multipart?
--
View this message in context:
http://cxf.547215.n5.nabble.com/JAX-RS-form-reading-I-m-stumped-tp567915p5760551.html
Sent from the cxf-user mailing list archive at Nabble.com.