builder.chain(staticChain);
builder.chain(postMessageProcessors);
MessageProcessorChain newChain = builder.build();
Lifecycle preChainOld = preChain;
Lifecycle postChainOld = postChain;
preChain = new SimpleMessageProcessorChain(preMessageProcessors);
postChain = new SimpleMessageProcessorChain(postMessageProcessors);
initDynamicChains();
//hook chain as last step to avoid synchronization