[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to