private String payload;
@Override
protected void configureClient(Client client)
{
MuleUniversalConduit conduit = (MuleUniversalConduit)client.getConduit();
// add interceptors to handle Mule proxy specific stuff
client.getInInterceptors().add(new CopyAttachmentInInterceptor());
client.getInInterceptors().add(new StreamClosingInterceptor());
client.getOutInterceptors().add(new OutputPayloadInterceptor());
client.getOutInterceptors().add(new CopyAttachmentOutInterceptor());
// Don't close the input because people need to be able to work with the live stream
conduit.setCloseInput(false);
}