I think the issue is
org.apache.camel.component.cxf.common.header.CxfHeaderFilterStrategy filters
the Content-Type. so i did try to add custom filter on endpoint but i am
getting below error. Is the headerFilterStrategy on the cfxbean endpoint
working? 

Failed to create route myroute at: >>>
To[cxfbean:speechService?headerFilterStrategy=#nimbusCxfHeaderFilterStrategy]
<<< in route: Route(myroute)[[From[servlet:///speech/2.0/sp... because of
Failed to resolve endpoint:
cxfbean://speechService?headerFilterStrategy=%23nimbusCxfHeaderFilterStrategy
due to: Could not find a suitable setter for property: headerFilterStrategy
as there isn't a setter method with same type: java.lang.String nor type
conversion possible: No type converter available to convert from type:
java.lang.String to the required type:
org.apache.camel.spi.HeaderFilterStrategy with value
nimbusCxfHeaderFilterStrategy
CAUSED BY: java.lang.IllegalArgumentException: Could not find a suitable
setter for property: headerFilterStrategy as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type
converter available to convert from type: java.lang.String to the required
type: org.apache.camel.spi.HeaderFilterStrategy with value
nimbusCxfHeaderFilterStrategy  
STACKTRACE: at org.apache.camel.model.RouteDefinition(addRoutes:883)






--
View this message in context: 
http://camel.465427.n5.nabble.com/CFX-Bean-headers-access-Issue-tp5741312p5741562.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to