The gateway will place the ESB message onto a separate queue to be processed by the service, it does not execute the pipeline directly.
At the moment we configure both together in the jboss-esb.xml file, through the service listeners, but this will eventually change. We will be removing all direct associations between services and transports.
Let me make sure I understand. Whenever you have a gateway listener you must have an ESB-aware listener. That suggest to me that the gateway places its output message into the queue configured for input to the ESB-aware listener. Is that correct? I'm trying to determine how the gateway knows where to output its message.