* Other protocols can use a faster static channel pipeline directly.
*/
ChannelPipeline pipeline;
if (protocol == ProtocolType.STOMP_WS)
{
pipeline = new DefaultChannelPipeline();
for (Entry<String, ChannelHandler> handler : handlers.entrySet())
{
pipeline.addLast(handler.getKey(), handler.getValue());
}
}