This content has been marked as final.
Show 2 replies
-
1. Re: creating only one instance of a mdb does not work!
rudifr May 24, 2003 9:19 AM (in response to jotsetung)Hi,
I made the same experience as you. The proposed configuration in jboss.xml doesn't work. I am using JBoss 3.21.
If I change the MaximumSize of StdJMSPool in standardjboss.xml I can limit the mdb instances to one:
<invoker-proxy-binding>
message-driven-bean
<invoker-mbean>default</invoker-mbean>
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
<proxy-factory-config>
DefaultJMSProvider
StdJMSPool
<!--MaximumSize>15</MaximumSize-->
1
1
10
queue/DLQ
10
0
</proxy-factory-config>
</invoker-proxy-binding>
This seems to work, but I'd like more to do this in jboss.xml for a specific MDB.
regards,
Rudi. -
2. Re: creating only one instance of a mdb does not work!
adrian.brock May 26, 2003 7:30 AM (in response to jotsetung)You can configure <invoker-proxy-bindings>
in jboss.xml and reference them from your beans.
Regards,
Adrian