Common Java/J2EE » JBoss 5 and MDB Automatic Destnation Creation

In JBoss 4 an automatic creation of a destination was made if a queue was not exist. If you upgrade from JBoss 4 to JBoss 5 and have MDB’s you probably encountered the error of destination not bound. In JBoss 5 creation of destination if not exist is not automatic. Add your destinations in {JBOSS_HOME}/server/your_config/deploy/messaging/destinations-service.xml

    jboss.messaging:service=ServerPeer

 jboss.messaging:service=PostOffice
 queue/MyQueue
 10000
 3

2 thoughts on “Common Java/J2EE » JBoss 5 and MDB Automatic Destnation Creation

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image