11.18. Using Your Own Messaging Provider

To use your own messaging provider, modify the corresponding section in the jboss-esb.xml file to refer to it. Here is an example:
<providers>
  <jms-provider name="CallbackQueue-JMS-Provider" 
    connection-factory="ConnectionFactory">
    <jms-bus busid="jBPMCallbackBus">
      <jms-message-filter dest-type="QUEUE" 
        dest-name="queue/CallbackQueue" />
    </jms-bus>
  </jms-provider>
</providers>