camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From semecamel <>
Subject connectionFactory must be specified
Date Wed, 06 Jun 2012 10:26:13 GMT

I am working with camel and cxf, but I am new to camel.
I want cxf endpoint to put a message to a jms queue (activemq).  I setup
activemq in beans.xml and create java dsl code, but during deployment time I
am getting org.apache.camel.RuntimeCamelException:
java.lang.IllegalArgumentException: connectionFactory must be specified.

Here is my beans.xml and route info

String cxfEndpoint = "cxf:/ServiceWSPort"
                + "?serviceClass=com.ServiceWS"
                + "&wsdlURL=wsdl/servicews.wsdl";
        from("jms:queue:ServiceQueue").process(new ServiceProcessor());

<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent" >
     <property name="brokerURL" value="tcp://localhost:61616"/>
    <bean id="myRoute" class="test.MyTest"/>
    <camelContext xmlns=""
     	<routeBuilder ref="myRoute"/>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message