}
@Override
public OutboundEndpoint buildOutboundEndpoint() throws EndpointException, InitialisationException
{
LocalClientMessageProcessorBuilder builder = new LocalClientMessageProcessorBuilder();
builder.setMuleContext(muleContext);
builder.setAddress(getEndpointBuilder().getEndpoint().toString());
try
{
ArrayList<MessageProcessor> processors = new ArrayList<MessageProcessor>();
processors.add(builder.build());
if (messageProcessors != null)
{
processors.addAll(messageProcessors);
}
messageProcessors = processors;