Hi,

Thanks for the help !! 


Ashwin Karpe wrote:
> 
> There is a simpler way to do this via the servicemix-camel component.
> Please refer to the camel example in the servicemix installation under
> <install-dir>/examples/cam
> 

In serviceMix 3.3.1.11 I can't find any example really different from what I
did. There is just a camelContext bean in all examples, with a package, or
routing rules inside like this : 

<camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring";>
        <package>org.bridge.camel.su.MyRouteBuilder</package> 
</camelContext>

I tried to remove jbi component declaration (yes I took it from the
servicemix-camel example of apache) I had on my xml file to match these
examples, but I can't find any service or endpoint declaration example. 


Ashwin Karpe wrote:
> 
> You could try changing this to "camel:camel" where the camel context is
> listed.
> 

I tried but I still don't know how to make routing. I don't understand the
role of the tracker endpoint at 
http://servicemix.apache.org/servicemix-camel.html servicemix camel example 
and why it references a #tracker bean...

So maybe I've misunderstood : to route from a service unit like http to
another using camel I need a registered camel service with an endpoint to
route to from the http consumer, right ? (we can't deploy an http su without
specifying a target service or endpoint). 

I read documentation, I understand the architecture but the implementation
is not clear to me. Can someone give me a small explanation please ? 

Thanks, Florian 

-- 
View this message in context: 
http://www.nabble.com/Trying-to-route-http-msg-with-camel-tp20722508p20774220.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to