{
DefaultMessageProcessorChainBuilder builder = new DefaultMessageProcessorChainBuilder();
builder.setName("'transaction' child processor chain");
TransactionalInterceptingMessageProcessor txProcessor =
new TransactionalInterceptingMessageProcessor(transactionConfig);
builder.chain(txProcessor);
for (Object processor : messageProcessors)
{
if (processor instanceof MessageProcessor)
{
builder.chain((MessageProcessor) processor);