JBoss 3.0.4 on JDK 1.3.1

I have an MDB that is limited to a pool size of 2 beans. This is what I put in my jboss.xml:

<container-configuration extends="Standard Message Driven Bean">
<container-name>OutgoingQueueHandlerConfiguration</container-name>
<container-pool-conf>
<MinimumSize>1</MinimumSize>
<MaximumSize>2</MaximumSize>
<strictMaximumSize>true</strictMaximumSize>
</container-pool-conf>
</container-configuration>

and:

<message-driven>
<ejb-name>OutgoingQueueHandler</ejb-name>
<destination-jndi-name>queue/mccp/OutgoingMessages</destination-jndi- name>
<configuration-name>OutgoingQueueHandlerConfiguration</configuration- name>
</message-driven>

However, I still see 15 beans being created initially and then many many more later on while processing messages.

I also added some logging in ejbCreate() and ejbRemove() in my MDB, and to my surprise, ejbRemove is never called.

Is this all supposed to work on 3.0.4 or should I upgrade to the last 3.2 beta?

S.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to