CXF - unmarshal error due to special characters

2016-12-06 Thread JamesG
Hi, I've some CXF services with the following abilities: a) Retrieve from database via JDBC b) Retrieve from another system via TCP (netty) I build the corresponding response java object and let Camel perform the unmarshalling, in which after that CXF would return the SOAP response to the calle

Stop route - return customized message to caller

2016-09-07 Thread JamesG
Hi, I have a CXF route and I noticed that we're able to stop the route by executing the stop method through CamelContext. I'm trying to see whether I can leverage on this feature to switch my system into maintenance mode, and reject all the incoming requests. It works fine, but the error message

Any issues having Camel Processor doing all the Works

2016-08-12 Thread JamesG
Hi, Instead of doing the routing using DSL, web service calling with CXF component, enriching, intercepting, etc , why not just have a Processor and put all the java codes there? For a Camel beginner, this seems pretty much easier to get the things done (definitely for those with java background),