exchange.setProperty(correlation, outExchange.getExchangeId());
String processCorrelationId = (String)exchange.getProperty(JbiConstants.CORRELATION_ID);
if (processCorrelationId != null) {
outExchange.setProperty(JbiConstants.CORRELATION_ID, processCorrelationId);
}
out = outExchange.createMessage();
}
boolean txSync = exchange.isTransacted() && Boolean.TRUE.equals(exchange.getProperty(JbiConstants.SEND_SYNC));
copyPropertiesAndAttachments(exchange, in, out);
if (transform(exchange, in, out)) {
if (isInAndOut(exchange)) {