use of org.graylog2.inputs.transports.netty.LenientDelimiterBasedFrameDecoder in project graylog2-server by Graylog2.
the class TcpTransport method getCustomChildChannelHandlers.
@Override
protected LinkedHashMap<String, Callable<? extends ChannelHandler>> getCustomChildChannelHandlers(MessageInput input) {
final LinkedHashMap<String, Callable<? extends ChannelHandler>> childChannelHandlers = new LinkedHashMap<>();
childChannelHandlers.put("framer", () -> new LenientDelimiterBasedFrameDecoder(maxFrameLength, delimiter));
childChannelHandlers.putAll(super.getCustomChildChannelHandlers(input));
return childChannelHandlers;
}
Aggregations