On 19 Aug, David Jencks wrote:
> Hi,
>
> I'm planning to move the two jboss jca-jdbc resource adapter wrappers to
> the connector module soon. I'm wondering if it would be appropriate to
> move the jms-ra connector there also? I think that it should either be
> with the other connectors or with jboss.mq.
>
> Also, a question about jms-ra and xa transactions. If you are using jdbc
> persistence with jms, and the same connection factory for both jms and your
> "regular" db work for e.g. cmp, one could theoretically avoid 2pc
If you by 2pc means two face connect, then yes there is a part of this
in the spec: use local transaction.
As far as I know, the JBoss connector is implemented in such a way that
you have to decide at config/deployment time if your resource adapter is
a "local transaction" one. This is the same for the jms-ra adapter. You
will have to configure a jms-ra adapter that uses local transactions and
use that. I have not turned this on by default (i fact is was a long
time ago since I last tested local transactions with the jms-ra).
//Peter
>by having
> the XAResources for the connection from the db and the connection from jms
> report they are the same resource manager. I spent just a few minutes
> looking at the code and couldn't find if this is implemented. Is it? If
> not would it be a good idea? Is there some reason it shouldn't work? It
> seems to me that it would allow using transactional jms with a db that
> doesn't support xa/2pc (i.e. most of them)
>
> thanks
> david jencks
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
--
------------------------------------------------------------
Peter Antman Technology in Media, Box 34105 100 26 Stockholm
Systems Architect WWW: http://www.tim.se
Email: [EMAIL PROTECTED] WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942
------------------------------------------------------------
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development