If the response is optional, what did you plan to return to your client
calling your TCP Server exposed by netty component ?


On Tue, May 6, 2014 at 12:26 PM, Muhammad Ichsan <ich...@gmail.com> wrote:

> 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
>



-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to