Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2656

ActiveMQInitialConnectionFactory cannot return an XAConnectionFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.4.0, 5.7.0
    • JMS client
    • None

    Description

      ActiveMQInitialContextFactory cannot resolve the name "XAConnectionFactory" a la:

      INFO: JNDI API lookup failed: javax.naming.NameNotFoundException: XAConnectionFactory

      This prevents using the builtin JNDI service in an XA transaction context. I've created a simple patch to workaround this and discussed it on the mailing list: http://old.nabble.com/ActiveMQ%27s-JNDI-does-not-resolve-XAConnectionFactory-td27936255.html

      Attachments

        1. ActiveMQInitialContextFactory.java
          8 kB
          Edan idzerda
        2. ActiveMQInitialContextFactory.java
          9 kB
          Edan idzerda

        Issue Links

          Activity

            People

              gtully Gary Tully
              edan Edan idzerda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: