camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From newbiee <m_ess...@hotmail.com>
Subject Re: Remotely pulling messages using CAMEL
Date Mon, 21 Nov 2011 19:55:26 GMT
Hadrian;

I am executing each route one by one. Here is what I have done:

First route:

    <route id="ping-all" autoStartup="true">
      <from uri="timer://myTimer?fixedRate=true&amp;period=6000" />
      <pollEnrich uri="{{digi.uris-db}}" />
      <to uri="log:DIGIS" />
      <split>
        <tokenize token="\n"/>
        <to uri="jms:digiQueue" />
      </split>
    </route>

It runs successfully and I am able to see all the host:IP in the digiQueue

Nex I add the second 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>
          <to uri="{{digi.prepare-request}}" />           
          <routingSlip><header>DigiUri</header></routingSlip>
          <to uri="jms:digiTCP" />
    </route>

Here I am getting the following error:

[aultMessageListenerContainer-1] DirectProducer                 WARN  No
consumers available on endpoint: Endpoint[direct://digi-request] to process:
Exchange[JmsMessage: ActiveMQTextMessage {commandId = 5, responseRequired =
true, messageId = ID:t00631529-4048-1321904956060-0:5:1:1:1, originalDesti
nation = null, originalTransactionId = null, producerId =
ID:t00631529-4048-1321904956060-0:5:1:1, destination = queue://digiQueue,
transactionId = null ..............................

Can you please guide me what I need to do to fix the error.

Thank you




--
View this message in context: http://camel.465427.n5.nabble.com/Remotely-pulling-messages-using-CAMEL-tp4971149p5011490.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message