Hi!
I have this route. It retrieves a message from an ActiveMQ queue, parses the
message body to a POJO, sets the operation name in the header, and routes
the message to a CXF endpoint.

<camelContext id="MyCamelContext"
        xmlns="http://activemq.apache.org/camel/schema/spring";>
        <route>
                <from uri="activemq:queue/my/Queue" />
                <unmarshal>
                        <jaxb prettyPrint="true" 
contextPath="my.domain.message" />
                </unmarshal>
                 <setHeader headerName="operationName">
                        <constant>myOperation</constant>
                </setHeader>
                <to uri="cxf:bean:myWSEndpoint" />
        </route>
</camelContext>

<cxf:cxfEndpoint id="myWSEndpoint"
serviceClass="my.domain.service.MyServicePortType"
address="${my.domain.service.url}" />

When running this, I get the following exception:

16:41:50,921 ERROR [STDERR] [ERROR] DeadLetterChannel - Failed delivery for
exchangeId: myID/4986-1226590345000/0-0. On delivery attempt: 0 caught:
java.lang.NoSuchMethodError:
org.apache.cxf.jaxws.context.WrappedMessageContext.<init>(Ljava/util/Map;Lorg/apache/cxf/message/Exchange;Ljavax/xml/ws/handler/MessageContext$Scope;)V<java.lang.NoSuchMethodError:
org.apache.cxf.jaxws.context.WrappedMessageContext.<init>(Ljava/util/Map;Lorg/apache/cxf/message/Exchange;Ljavax/xml/ws/handler/MessageContext$Scope;)V>java.lang.NoSuchMethodError:
org.apache.cxf.jaxws.context.WrappedMessageContext.<init>(Ljava/util/Map;Lorg/apache/cxf/message/Exchange;Ljavax/xml/ws/handler/MessageContext$Scope;)V

Can anyone give me some advice on what might be wrong?
-- 
View this message in context: 
http://www.nabble.com/Camel-CXF-endpoint---NoSuchMethodError-tp20481674s22882p20481674.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to