return;
}
MessageExchange exchange = message
.getContent(MessageExchange.class);
ComponentContext context = message.getExchange().get(
ComponentContext.class);
CxfBcConsumer.this.configureExchangeTarget(exchange);
CxfBcConsumer.this.messages.put(exchange.getExchangeId(), message);
CxfBcConsumer.this.isOneway = message.getExchange().get(
BindingOperationInfo.class).getOperationInfo().isOneWay();
message.getExchange().setOneWay(CxfBcConsumer.this.isOneway);
try {
if (CxfBcConsumer.this.synchronous
&& !CxfBcConsumer.this.isOneway) {
message.getInterceptorChain().pause();
context.getDeliveryChannel().sendSync(exchange, 10000);
process(exchange);
} else {
context.getDeliveryChannel().send(exchange);
}
} catch (Exception e) {
throw new Fault(e);
}