Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3331

Improvements to Resource Adapter and example

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.18.0
    • None
    • None

    Description

      Several improvements to the Resource Adapter and the example after testing with WebSphere, these include:

       

      1. Add a flag to enable whether or not an outgoing connection uses the current JTA TX when creating the session. This is for when the RA does not have access to the Transaction Manager to discover this automatically.
      2. The RA logger uses getPackage() which returns null on Classloaders that aren't a jar Classloader, such as the WebSphere Rar uploader. use getClass which always returns not null.
      3. Added some missing setters/getters
      4. Added overloaded getters for boolean properties, this is because some Application Servers (WebSphere) uses introspection on the Classes which will include getFoo() but not isFoo()
      5. Fixed up the example ra.xml.
      6. Other small fixes to handle Introspection better such as avoiding Null Pointers

      Attachments

        Issue Links

          Activity

            People

              andytaylor Andy Taylor
              andytaylor Andy Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m