> As for the JMS RA. This is basically a hack. Not in
> the meaning bad code
> (I hope ;-)) but in that the spec for JCA is not
> designed for JMS. The
> stuff you take from the pool, is the stuff that is
> transacted. This
> works nice for db but not for JMS, since in JMS it is
> the session that
> is transacted and that should be pooled in the JCA
> adapter, but it is
> not a common idiom to directly get a session in JMS
> (which you can with
> the JCA adapter). The connection is just a cover up
> class, which
> basically do no JCA intercation. It's the session
> that do it.
> 
> I could not come up with a good solution on this
> problem, except
> documenting  how to use it. If someone can find a
> solution, pleas commit
> it.

Well, a really hot fix could be that someone from JBoss takes a look at Jonas. We have 
integrated SwiftMQ there and it worked out of the box, including producing messages 
within a MDB inside the same XA transaction, using multiple XA resources (Oracle and 
SwiftMQ). They haven't a JCA RA but a very good wrapper around the JMS stuff that 
handles the JTA enlistment etc.

Since it is open source as well, you could use it at least as a template. 

-- Andreas

* * *

View thread online: http://jboss.org/forums/thread.jsp?forum=66&thread=13848

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to