@Override
public ChannelPipeline getPipeline() throws Exception {
final ChannelHandler[] handlers = {
new IdleStateHandler(HASHEDWHEELTIMER, 1, 1, 1),
new FIXFrameDecoder(),
STRINGDECODER,//Incoming
STRINGENCODER,//Outgoing
isDebugOn ? LOGHANDLER : NOOPHANDLER,
new FIXSessionProcessor(true,headerFields, trailerFields,logonManager , sessions, queueFactory, outgoingCallback)};
final ChannelHandler[] allHandlers = new ChannelHandler[handlers.length + upstreamHandlers.length];