0

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

MaDa
  • 10,511
  • 9
  • 46
  • 84
Alain
  • 237
  • 1
  • 4
  • 13

1 Answers1

1

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'

stratwine
  • 3,663
  • 2
  • 26
  • 32