activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <...@ldsys.net>
Subject Re: Dedicated ActiveMQ pooled ConnectionFactory with XA / JCA support
Date Fri, 19 Jan 2007 16:25:47 GMT
Guillaume Nodet wrote:
> Btw, I've blogged about that at http://gnodet.blogspot.com/
> 
> On 12/19/06, Guillaume Nodet <gnodet@gmail.com> wrote:
>> I have committed in jencks some work I have done the past weeks
>> on a pooled ConnectionFactory for ActiveMQ.
>> This add the following features:
>>    * multiple connections are used to improve throughput (until the
>> AMQ broker is multithreaded)
>>    * support for XA transactions: when creating a session, if an XA
>> transaction is active,
>>      the session will be enlisted in this transaction
>>    * support for JCA : if used with JCA inbound support, there is a
>> need to wrap the
>>       XAResource so that the TM knows that both XA resources belongs
>> to the same
>>       ResourceManager
>>
>> Support for XA / JCA is much faster than the JCA outbound support
>> because the AMQ resource adapter reverts the connection in a fully
>> clean state
>> after use.  This may be needed when dealing with container managed
>> security,
>> but when this feature is not used, I would recommend using this pooled
>> connection factories, which performs much better.
>>
>> -- 
>> Cheers,
>> Guillaume Nodet
>>

Could you put up some configuration examples, perhaps amqpool outbound
in combination with JCA inbound using AMQ's RA with XA JTA transactions
in Spring? :)

-- 
Christopher G. Stach II


Mime
View raw message