Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6229

Enable non-transacted connections with AMQP-08, -09, -091

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.29, 0.30
    • None
    • JCA
    • None
    • Glassfish 4, Wildfly 8.1
      Qpid Java client 0.29 and 0.30

    Description

      Currently, jca/src/main/java/org/apache/qpid/ra/QpidRAManagedConnection.java does not distinguish between transacted setups and non-transacted setups. It will always try and create a _xaSession, even if the user has declined by setting the connection factory to NoTransaction, or setting the property UseLocalTx to true.

      The attached patch changes the setup() method in QpidRAManageConnection to only create _xaSession objects when transactions have been requested.

      Without this patch, it is impossible to use the JCA adapter with older protocols (amqp-08, -09, -091).

      Attachments

        1. jca-no-transaction.patch
          2 kB
          Nathan Kunkee

        Activity

          People

            Unassigned Unassigned
            nkunkee Nathan Kunkee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: