MDB starting before queue in JBoss EAP?

Solution Verified - Updated -

Issue

  • I have 2 applications, let say Application A, and Application B, running inside the same JBOSS instance, Application B contains queues for both applications, but Application A starts up first, and sometimes the providers will not reconnect with the queues after they're deployed when Application B is deployed.
  • I know I can always place the queue.xml file in the deploy directory of each machine, but we like to keep our configuration files wrapped in our applications, and since application B is deployed to the cluster, I would like to keep the queue configuration inside that application
  • Is there a way to ensure Application B inside the farm directory starts first?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.