return;
}
} else {
try {
DeliveryChannel channel = ((JbiTransport) getTransport()).getContext().getDeliveryChannel();
MessageExchangeFactory factory = channel.createExchangeFactory();
URI mep = null;
if (context.getExchange().getOperation().getOutputMessage() != null) {
mep = MessageExchangeSupport.IN_OUT;
} else if (context.getExchange().getOperation().getFaults().size() > 0) {
mep = MessageExchangeSupport.ROBUST_IN_ONLY;
} else {
mep = MessageExchangeSupport.IN_ONLY;
}
MessageExchange me = factory.createExchange(mep);
me.setInterfaceName((QName) context.getService().getProperty(JBI_INTERFACE_NAME));
me.setOperation(context.getExchange().getOperation().getQName());
me.setService((QName) context.getService().getProperty(JBI_SERVICE_NAME));
me.setEndpoint((ServiceEndpoint) context.getService().getProperty(JBI_ENDPOINT));
NormalizedMessage msg = me.createMessage();