How to configure jBPM + remote JMS integration with XA in SOA-P

Solution Unverified - Updated -

Issue

  • How can I configure jBPM + remote JMS integration with XA in SOA-P?

  • I referred to the SOA-P 5 ESB Administration Guide "9.2.1. Using Remote Java Message Service Providers" but it does not work. The guide shows the following example configuration. However it looks it is just setting up JMS provider and not JMS resource adapter. So it would not be XA aware.

    • deploy/jbpm.esb/jbpm-service.xml:

          <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
                 name="jboss.messaging:service=JMSProviderLoader,name=RemoteProviderLoader">
             <attribute name="ProviderName">RemoteProviderAdapter</attribute>
             <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
             <attribute name="QueueFactoryRef">XAQueueConnectionFactory</attribute>
             <attribute name="TopicFactoryRef">XATopicConnectionFactory</attribute>
             <attribute name="Properties">
                java.naming.provider.url=<remote-host>:1099
             </attribute>
          </mbean>
      
  • deploy/jbpm.esb/jbpm.cfg.xml:

        <service name="message">
          <factory>
            <bean class="org.jboss.soa.esb.services.jbpm.integration.msg.JmsMessageServiceFactory">
              <field name="providerAdapterJNDI"><string value="RemoteProviderAdapter"/></field>
            </bean>
          </factory>
        </service>
    

Environment

  • Red Hat JBoss SOA Platform (SOA-P)
    • 5.x
  • jBPM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.