Hello. Thanks to both genman and Stephane.
I'm afraid that I'm a bit of a lowbrow when it comes to these kinds of things. I was not able to easily figure out from Adrian's FAQ how I should proceed. It was useful only in that it pointed me in the right direction, but genman's contribution was more useful. For future generations, what you do to control the number of instances of an MDB are servicing a queue, is define your jboss.xml as follows: | <jboss> | | <unauthenticated-principal>nobody</unauthenticated-principal> | | <invoker-proxy-bindings> | <invoker-proxy-binding> | <name>email-message-driven-bean</name> | <invoker-mbean>default</invoker-mbean> | <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory> | <proxy-factory-config> | <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI> | <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI> | <MaximumSize>4</MaximumSize> | <MaxMessages>1</MaxMessages> | <MDBConfig> | <ReconnectIntervalSec>10</ReconnectIntervalSec> | <DLQConfig> | <DestinationQueue>queue/DLQ</DestinationQueue> | <MaxTimesRedelivered>10</MaxTimesRedelivered> | <TimeToLive>0</TimeToLive> | </DLQConfig> | </MDBConfig> | </proxy-factory-config> | </invoker-proxy-binding> | </invoker-proxy-bindings> | | <enterprise-beans> | | <message-driven> | <ejb-name>MailHandler</ejb-name> | <configuration-name>Standard Message Driven Bean</configuration-name> | <destination-jndi-name>queue/mailQueue</destination-jndi-name> | <invoker-bindings> | <invoker> | <invoker-proxy-binding-name>email-message-driven-bean</invoker-proxy-binding-name> | </invoker> | </invoker-bindings> | | </message-driven> | | </enterprise-beans> | | <resource-managers> | </resource-managers> | | </jboss> | The bit that matters is the line <MaximumSize>4</MaximumSize> Just to make things quite clear: the file jboss.xml sits in the META-INF directory of the jar in which your MDB lives. I hope I got that right! Clearly I'm new to JMS, so if there are better ways of killing this cat, please let me know. Renen. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845189#3845189 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845189 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
