It is not easy to implement your requirement in CXF by hacking the
interceptors.
Here is an example which support routing the message between the
endpoints in CXF by xml message's version[1].
It may be helpful to you case.
[1]
https://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/versioning
Willem
sha_cxf wrote:
Thanks Willem.
But is there any way to implement this in CXF. I have to prepare a prototype
in CXF alongwith one in CAMEL.
To be precise, any pointers on how to invoke a method on a service when the
incoming request format is not bound to any schema/format or how can I make
CXF relate all xml messages (with different schemas) to one particular
method in the service (say handleMessage).