Package org.mule.processor.chain

Examples of org.mule.processor.chain.SimpleMessageProcessorChainBuilder


        {
            return new DispatcherMessageProcessor(endpoint);
        }
        else
        {
            SimpleMessageProcessorChainBuilder builder = new SimpleMessageProcessorChainBuilder();
            builder.setName("dispatcher processor chain for '" + endpoint.getAddress() + "'");
            LaxAsyncInterceptingMessageProcessor async = new LaxAsyncInterceptingMessageProcessor(
                new WorkManagerSource()
            {
                @Override
                public WorkManager getWorkManager() throws MuleException
                {
                    return getDispatcherWorkManager();
                }
            });
            builder.chain(async);
            builder.chain(new DispatcherMessageProcessor(endpoint));
            return builder.build();
        }
    }
View Full Code Here

TOP

Related Classes of org.mule.processor.chain.SimpleMessageProcessorChainBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.