Hi All

Is it possible to make response to be optional in Netty component?

The following routes still make all the response sent back to its
clients, regardless the body is.

<route>
   <from uri="netty:tcp://localhost:5150?textline=true" />
   <to uri="replyMaker" />
   <choice>
      <when>
         <simple>${body} == 'intan'</simple>
         <to uri="direct:just-in" />
      </when>
   </choice>
</route>

<route>
   <from uri="direct:just-in" />
   <setExchangePattern pattern="InOnly" /><!-- No effect. Implicit
sync=true in netty is stronger? -->
   <to uri="printingProcessor" />
</route>

Thanks

-- 
~The best men are men who benefit to others
http://www.michsan.web.id 一緒に勉強しましょう!

Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com

Reply via email to