How to tirgger camel after inserting a row into a database?

2012-06-13 Thread semecamel
I would like to know how I can trigger my route after inserting a row. My situation is that I need to listen for insert after I need to generate hl7 message. Any idea how to trigger route after database insert? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-tirgger-cam

Web Services calls via camel not working (Class cast exception)

2012-06-11 Thread semecamel
I have a web service which I published via cxf endpoint and added to my camel context in spring xml file. My web service method returns an object. I created a Processor class to do actual work. How I can return an object after calling my cxf endpoint? I am getting class cast exception. I am tryi

Help Needed (Came cxf)

2012-06-07 Thread semecamel
I have a web service as exposed as camel cxf endpoint, but when I call the web service I get error below. Here is my web service, I can't tell what I am doing wrong. I use eclipse to generate web service client using cxf. @WebService public interface OrderServiceCamelWS { public void ins

Re: java.lang.ClassNotFoundException: org.apache.cxf.message.MessageContentsList

2012-06-07 Thread semecamel
I found that the issue in activemq. My camel app is connecting to external activemq server, and it did not have apache cxf jar in classpath. I added cxf jar in activemq lib directory and it worked. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/java-lang-ClassNotFoundE

java.lang.ClassNotFoundException: org.apache.cxf.message.MessageContentsList

2012-06-06 Thread semecamel
I am trying to put an object to jms queue, i am getting this error. java.lang.ClassNotFoundException: org.apache.cxf.message.MessageContentsList Here is my route code: String cxfEndpoint = "cxf:/MyOrderService" + "?serviceClass=integration.camel.ws.MyOrderService"; from(

Help Cfx ws endpoint to JMS not Working

2012-06-06 Thread semecamel
I have ws as entry point, but my ws is not being called when I send a soap message. How I do send an object web service call to jms queue and then process object from the queue? Here is the detail String cxfEndpoint = "cxf:/ServiceWSPort" + "?serviceClass=com.ServiceWS"

connectionFactory must be specified

2012-06-06 Thread semecamel
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

Camel activemq and Tomcat (Jetty running inside Tomcat)

2012-06-04 Thread semecamel
I deployed my camel war to tomcat, but Jetty can started too inside tomcat. Any idea? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-activemq-and-Tomcat-Jetty-running-inside-Tomcat-tp5713963.html Sent from the Camel - Users mailing list archive at Nabble.com.