// Helper methods for the rule base
//-------------------------------------------------------------------------
public void forwardToService(MessageExchange exchange, NormalizedMessage in, QName name) throws MessagingException {
DeliveryChannel channel = getDeliveryChannel();
MessageExchangeFactory factory = channel.createExchangeFactoryForService(name);
InOnly outExchange = factory.createInOnlyExchange();
String processCorrelationId = (String)exchange.getProperty(JbiConstants.CORRELATION_ID);
if (processCorrelationId != null) {
outExchange.setProperty(JbiConstants.CORRELATION_ID, processCorrelationId);
}
forwardToExchange(exchange, outExchange, in);