Hi , You need to do the content base routing according to the operation name. Here is an example[1] for you.
[1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java Gabor Dolla wrote: > > sorry but half of my message is missing... I tried to send this > > > We try to use camel and cxf with code-first approach and it works when > we have one only method in the interface. > We can not make it work with multiple methods. > > package xxx; > > public interface FooBar() { > Result foo(String id) ; > Result2 bar(String id); > } > > > > > > -- View this message in context: http://camel.465427.n5.nabble.com/cxf-with-multiple-methods-in-the-interface-tp3411543p3411963.html Sent from the Camel - Users mailing list archive at Nabble.com.