Hi There

I am also trying to use ServiceMix/Camel,
I created and HTTPEndPoint which Fires off a JSR181 component.   At this
point i would like to get camel triggered......but with no success at all.
I do not know how to trigger camel....

What I have is as follows

----MY HTTP ENDPOINT xbean-----
<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:vmt="http://integ.vmt.com/";>

 <http:endpoint service="vmt:SoapNetworkService"
                 endpoint="soap"
                 role="consumer"
                 targetService="vmt:NetworkServices"
                 locationURI="http://localhost:8192/network/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true" />
</beans>

---MY JSR181 xbean-----
<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
       xmlns:vmt="http://integ.vmt.com/";>

    <jsr181:endpoint pojoClass="servicesimpl.NetworkServicesImpl"
               annotations="none"
               service="vmt:NetworkServices"
               endpoint="networkServices" />
</beans>


---My Camel Context ---

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd";>

    <camelContext id="camel" xmlns="
http://activemq.apache.org/camel/schema/spring";>
      <package>com.camel.demo</package>
    </camelContext>

</beans>

-----------------+ my RouteBuilder class

public class MyRouteBuilder extends RouteBuilder {

    private static final Log log = LogFactory.getLog(MyRouteBuilder.class);

    public void configure() {

        log.info("START : MyRouteBuilder Configure");

        this.from("jbi:endpoint:http://integ.vmt.com/NetworkServices";).process(
new Processor() {

            public void process(Exchange arg0) throws Exception {
                log.info("Processing routing");
            }

        });

        log.info("DONE : MyRouteBuilder Configure");

    }
}


I can see the message coming through to the JSR181 Pojo, but Camel does
NOTHING....
I though the above Camel configuration will at least execute the inner class
Processor....

BY the way I also see that the configure method on the MyRouteBuilder class
is called.....

Please help

Thank you in advance


On 9/19/07, ICAR <[EMAIL PROTECTED]> wrote:
>
>
> Now we have this problem :
> we send message from HTTP to CAMEL to JSR181 but the response from JSR
> don't
> retry from CAMEL to HTTP
>
> this is our HTTP configuration :
>
>     <http:endpoint service="frsb:HttpTest"
>                    endpoint="endpointTest"
>                    targetService="frsb:CamelTest"
>                    role="consumer"
>                    locationURI="http://0.0.0.0:8192/Test/";
>                    defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
>                    soap="true" >
>     </http:endpoint>
>
> this is our camel class:
>
>     public void configure() throws Exception {
>         this.from("jbi:service:http://icar.unibas.it/FreESBee/CamelTest";)
>             .to("jbi:service:http://icar.unibas.it/FreESBee/WebService";);
>     }
>
> The WEB SERVICE class receive message but the body response doesn't return
> to HTTP
> --
> View this message in context:
> http://www.nabble.com/Problems-with-camel-comunication-tf4482226s12049.html#a12781429
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to