How Do I Create Singleton Message Driven Bean?
In JBoss 3.2.4, you can use the Singleton Message Driven Bean EJBConfiguration.
To set the configuration, locate the message-driven element for your MDB in your jboss.xml file and set the configuration-name as shown below:
<message-driven> <ejb-name>YourBean</ejb-name> <configuration-name>Singleton Message Driven Bean</configuration-name> <!-- ... --> </message-driven>
Before 3.2.4 you will have to add this configuration yourself. Example
Comments