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

Add Generic TransactionManagerLocator class (Scripting)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Future
    • Future
    • JCA

    Description

      I would like to have a generic TransactionManagerLocator class.

      I've implemented a new class called "ScriptingTransactionManagerLocator". It uses JavaScript at the server side, enabling users to implement their own logic to lookup their transaction manager.

      In order to use it, the users would need to define the lookup script in a new parameter. For OpenEJB it would be:

              <config-property>
                  <config-property-name>TransactionManagerLocatorScript</config-property-name>
                  <config-property-type>java.lang.String</config-property-type>
                  <config-property-value>
                      org.apache.openejb.OpenEJB.getTransactionManager();
                  </config-property-value>
              </config-property>
      

      Where...

      org.apache.openejb.OpenEJB.getTransactionManager();
      

      Is everything I would need to implement it.

      Attachments

        Activity

          People

            wprice Weston M. Price
            tveronezi Thiago Veronezi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: