I have an enterprise application that is using some topics. They are declared in destinations-service.xml (deploy/messaging/destinations-service.xml). When the application server starts it deploy my application (ear archive) before configuring the topics, so an error is logged in server.log file:
Failed to set up connections javax.naming.NameNotFoundException: topic not bound.
How can I tell jboss to configure the topic first and after that deploy my application?
I'm using JBoss 5.1.0.GA.