LoadingByteArrayOutputStream bos = new LoadingByteArrayOutputStream();
capture.setContent(OutputStream.class, bos);
ExchangeImpl captureExchange = new ExchangeImpl((ExchangeImpl)message.getExchange());
capture.setExchange(captureExchange);
captureExchange.setOutMessage(capture);
captureExchange.setConduit(new AbstractConduit(captureExchange.getConduit(capture).getTarget()) {
@Override
public void prepare(Message message) throws IOException {
}