camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prabumca06@gmail.com" <prabumc...@gmail.com>
Subject Re: Camel routing DSL - Questions
Date Mon, 15 Apr 2013 17:26:25 GMT
Thanks for reply

one more question pending

Question:2

Error in code

from(INBOUND_QUEUE)
.choice().when(header(TYPE).isNotNull())
  .recipientList(simple("activemq:queue:Inbound.${header.TYPE}"))
.otherwise()
   .to(ERQ_QNAME)
.endChoice();

After execute i am getting following error.

Error:

Router.java:22: cannot find symbol
symbol  : method otherwise()
location: class
org.apache.camel.model.RecipientListDefinition<org.apache.camel.
model.ChoiceDefinition>
           .otherwise()
           ^ 



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-routing-DSL-Questions-tp5730917p5730931.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message