commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Marsh <mars...@nitesco.com>
Subject Re: commons messenger
Date Thu, 18 Apr 2002 23:39:07 GMT
James:

Are messagelets multithreaded? Will messagelets be instantiated for
processing messages on a given queue as fast as the messages arrive on
the queue? Or are they processed serially? I'd like them to be processed
as fast as they come in......

Thanks.

Tom

James Strachan wrote:
> 
> From: "Thomas Marsh" <marsht1@nitesco.com>
> > James / List:
> >
> > We're about to start experimenting with MQ Series, Websphere AE, and
> > possibly commons messenger, and was wondering if the messenger objects
> > can participate in transactions (XA?) ? I.E. If I consume a message in a
> > session EJB, and something goes wrong, can I rollback the transaction so
> > the message remains on the queue?
> 
> Sure thing. You can create an XA Connection/Session. Though right now that
> will take a custom SessionFactory to be used - we should add this to the XML
> config as an option. Though you'll need to do the JTA/JTS plumbing yourself
> right now - thats one thing we should address for sure.
> 
> If you're doing some EJB stuff it might be easier to just use Message Driven
> EJBs; Messenger works better in web/servlet centric environments.
> 
> James
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>

-- 
Tom Marsh

mailto:marsht1@nitesco.com
http://www.nitesco.com

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message