1 Reply Latest reply on Jul 15, 2011 7:47 AM by ffang

    jbi:service in camel route problem

    rafal.janik

      Hi,

       

      I'm trying to write a invocation of  external ws service in jbi (apache servicemix) using camel.

       

      The RouteBuilder.java :

       

              from("timer://tutorial?fixedRate=true&delay=4000&period=10000")

                  .setBody(constant(msg))

                  .to("jbi:service:http://someexternalservice.com/Annotation?operation=annotateString&mep=in-out")

                  .to("log:my-test-ws-execution");

       

      and a msg is String - a proper soap message (works in soapui)

       

       

      in logs I can find :

       

      "Could not find route for exchange:"

       

      Am I doing it in wrong way?

       

       

      Fuse ESB 3.6