camel-users mailing list archives

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

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(cxfEndpoint).to("jms:queueServiceQueue");
        
        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>
   
    
    <bean id="myRoute" class="test.MyTest"/>
     
    <camelContext xmlns="http://camel.apache.org/schema/spring"
depends-on="activemq">
     	
     	<routeBuilder ref="myRoute"/>
     	
   </camelContext>

--
View this message in context: http://camel.465427.n5.nabble.com/connectionFactory-must-be-specified-tp5714053.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message