Hi,
I have a filter which extends BaseFilter.
Do I need to stop execution after successful reply?
E.g:
public NextAction handleRead(FilterChainContext ctx) throws IOException {
// do some staff
ctx.write(peerAddress, message, null);
return ctx.getStopAction();
}
or
public NextAction handleRead(FilterChainContext ctx) throws IOException {
// do some staff
ctx.write(peerAddress, message, null);
return ctx.getInvokeAction();
}
The filter is the last in the chain.
Thanks,
Tigran.