You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Thiago Veronezi (JIRA)" <ji...@apache.org> on 2013/09/10 15:09:54 UTC

[jira] [Updated] (QPID-5125) Add Generic TransactionManagerLocator class (Scripting)

     [ https://issues.apache.org/jira/browse/QPID-5125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago Veronezi updated QPID-5125:
----------------------------------

    Attachment: ScriptingTransactionManagerLocator.patch

Proposed implementation.
                
> Add Generic TransactionManagerLocator class (Scripting)
> -------------------------------------------------------
>
>                 Key: QPID-5125
>                 URL: https://issues.apache.org/jira/browse/QPID-5125
>             Project: Qpid
>          Issue Type: New Feature
>          Components: JCA
>    Affects Versions: Future
>            Reporter: Thiago Veronezi
>              Labels: features, patch
>             Fix For: Future
>
>         Attachments: ScriptingTransactionManagerLocator.patch
>
>
> 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:
> {code}
>         <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>
> {code}
> Where...
> {code}
> org.apache.openejb.OpenEJB.getTransactionManager();
> {code}
> Is everything I would need to implement it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org