Hey David.. I want to see If I can start working on this. I know like amost zero about jca but I know quite a bit about the XA stuff and how jbossmq txs work with the MDB.
anyways.. I guess what I need to know is how is the contianer going to initialize the jms stuff so that it can deliver the container it's messages. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of David > Jencks > Sent: Friday, August 30, 2002 1:35 PM > To: jboss-dev > Subject: [JBoss-dev] jbossmq and jca 1.5 > > > I started looking at modifying jbossmq and/or the jmsra adapter to work > with the j2ee connector architecture 1.5 facilities. I am > definitely not a > jms expert so a lot of what I say may not make sense. > > Here's what the new spec provides that I think is relevant: > > thread pooling through the WorkManager interface. You submit Work > instances to be done in other threads. The app server controls the thread > pooling. > > message inflow through the MessageEndpoint interfaces. In particular, I > think we should use Option B which involves the jms system calling, on a > MessageEndpoint supplied from the app server, > > beforeDelivery([the onMessage method]); //this starts the jta tx and > informs the adapter via an XAResource the adapter supplied earlier. > > onMessage(message); //actual message delivery to MessageListener > > afterDelivery(); //ends the tx, again the adapter is informed via the > XAResource. > > -------- > > I keep getting lost looking at the jms code. My impression so far is that > although the jca 1 jmsra adapter appears to work ok without modifying > jbossmq, using the contracts mentioned above will require additional code > in jbossmq itself, namely an additional way of delivering > messages within a > transaction. > > Does this make sense? Do any of the jbossmq experts want to work on this? > > There are very simple examples of using the work and message endpoint > interfaces in the testsuite in .../jca/inflow. > > I haven't written the deployment portion of the connector 1.5 > support yet: > I'm hoping for a real adapter example that can be used to test it. > However, I think for now everything needed can be set up without > a deployer > as explicit mbeans: this is what I did in the tests. > > Thanks > david jencks > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
