camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Behrad <behr...@gmail.com>
Subject Dealing with ProcessorDefinition
Date Wed, 07 Jan 2015 08:41:14 GMT
In my org.apache.camel.scala.dsl.builder.RouteBuilder when I write

from ==> {
   idempotentConsumer(uuid) repository db choice {
    ...
  }
}

everything is OK, however when I want to write

from ==> {
   if( idempotencyIsSet) {
      idempotentConsumer(uuid) repository db
   }
   choice {
   ...
  }
}

route is silently not started and not working...

My problem is not to know how to properly use scala DSL:(



--
View this message in context: http://camel.465427.n5.nabble.com/Dealing-with-ProcessorDefinition-tp5761418.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message