Alain
Alain

Reputation: 237

Where to configure the org.jboss.ejb3.mdb.MdbDelegateWrapper

I need to reduce the pool size of an MDB to 5 because it connect to an external resource that is limited in terms of connections. If I have 15 messages in my JMS queue, then only 5 msg are process successfully and the other 10 are waist because of connection error happening in the MDB code.

I show this setup in the Jboss JMX-console: JMX-console

I'm using Jboss 4.2.3. I need to know where I can edit this MaxPoolSize config. I searched everywhere but haven't found it.

Thanks

Upvotes: 0

Views: 762

Answers (1)

stratwine
stratwine

Reputation: 3701

I guess adding the limit in 'instance-pool' in Jboss.xml should do it.

Check this blog article and Jboss docs to see how to use 'instance-pool' and 'strictMaximumSize'

Upvotes: 1

Related Questions