Hi

I think you should try to set the 'from' adress to your senders adress.

If you have an endpoint called "b:sender" than you should configure something like:

    <route>
       <from uri="b:sender"/>
       <to uri="b:jms"/>
    </route>

Hope this helps...

Kristian

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:b="http://servicemix.apache.org/samples/bridge";
       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 xmlns="http://activemq.apache.org/camel/schema/spring";
useJmx="true" >
    <route>
      <from uri="b:pipeline"/>
      <to uri="b:jms"/>
    </route>
<package>eip.status.servicemix</package>
  </camelContext>
</beans> My MyRouteBuilder.jave file is empty. Can anybody explain me, how I can use the EIP route in Camel? When starting servicemix, I get this exception:
org.apache.camel.RuntimeCamelException:
org.apache.camel.NoSuchEndpointException: No endpoint could be found for:
b:pipeline
I understand the exception, because I do not have the b:pipeline defined. My
problem is, that I do not know how to define it in camel. I am using
servicemix 3.2.1 .
Thanks for any help
Robert
--
http://gaswerk.sourceforge.net

Reply via email to