camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Camel Guy <ca...@devguy.com>
Subject Puzzler: Best NoOp route
Date Mon, 19 May 2014 19:34:01 GMT
Hello,

I'm building a framework in Spring DSL and I need a route that does nothing
(e.g., testing mode). Since a route has to do something (otherwise Spring
DSL fails), ?? below must be replaced by something.

<route>
 <from uri="direct:NoOp"/>

??

</route>

I was using <transform><simple/></transform> but I recently discovered that
<choice/> works.

What could be put in ?? that has even less overhead?


Thank you!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message