I have following route:

    <route id="ping-digi">
          <from uri="jms:digiQueue" />
          <setHeader
headerName="DigiId"><simple>${body}</simple></setHeader>
          <setHeader
headerName="DigiUri"><simple>netty:tcp://${body}?sync=true</simple></setHeader>
          <setBody><header>DigiUri</header></setBody>
          <to uri="direct:start" />
          <routingSlip><header>DigiUri</header></routingSlip>           
    </route>

If I replace: 

          <to uri="direct:start" />
          <routingSlip><header>DigiUri</header></routingSlip> 

with:

             <to uri="stream:out"/> 

The value of "DigiUri" is printed on the command prompt.

But with the above route I am getting following error:

WARN  No consumers available on endpoint: Endpoint[direct://start] to
process: Exchange ...........

Please help me fixing this error.

Thank you



--
View this message in context: 
http://camel.465427.n5.nabble.com/No-consumers-available-on-endpoint-Endpoint-direct-start-tp5011742p5011742.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to