tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: relationship between ActiveMQResourceAdapter, javax.jms.ConnectionFactory and MDB InstanceLimit
Date Tue, 24 Feb 2015 14:00:30 GMT
you can depend as well of your usage

here are some properties (not all but most important one) related to
AMQ props: http://activemq.apache.org/activation-spec-properties.html


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2015-02-24 14:56 GMT+01:00 leo ks <l6459852@gmail.com>:
> thanks
>
> just forgot, also, inside the MDB, should I set
> @ActivationConfigProperty(maxSessions=X) too?
>
>
>
> 2015-02-24 10:49 GMT-03:00 Romain Manni-Bucau <rmannibucau@gmail.com>:
>
>> Hi
>>
>> seems right yes. You dont have to do it but that's the parameters you
>> can adjust to get the behavior you want
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-02-24 14:32 GMT+01:00 leo ks <l6459852@gmail.com>:
>> > Hi
>> >
>> > I am trying to understand how embedded JMS works in TomEE.
>> >
>> > If I want max X simultaneous MDBs, I set at tomee.xml container type
>> > "MESSAGE" InstanceLimit = X.
>> >
>> > Do I also have to set at tomee.xml a resource
>> > type="javax.jms.ConnectionFactory" PoolMaxSize to X as well?
>> >
>> > And also do I have to set at tomee.xml a resource
>> > type="ActiveMQResourceAdapter" ThreadPoolSize to X too?
>> >
>> > thanks
>> >
>> > K.
>>

Mime
View raw message