protected void addMessageProcessors(MessageProcessorChainBuilder builder)
{
builder.chain(new ProcessingTimeInterceptor(null, this));
builder.chain(new ServiceLoggingMessageProcessor(this));
builder.chain(new ServiceStatisticsMessageProcessor(this));
builder.chain(new ServiceSetEventRequestContextMessageProcessor());
if (getThreadingProfile().isDoThreading())
{
sedaStage = new LaxSedaStageInterceptingMessageProcessor(ThreadNameHelper.sedaService(
muleContext, getName()), getName(), queueProfile, queueTimeout, threadingProfile, stats,
muleContext);