0 Replies Latest reply on Oct 8, 2013 9:08 AM by nlsurfman

    Dependency on JMS/HornetQ

    nlsurfman

      In JBoss 4.2.2, I had an MBean telling our standalone clients the server was going down which was done with an MBean and JMS. Now, I am trying the same with a @StartUp EJB in the @PreDestroy method. When WildFly 8 shuts down, the code gets hit, but it crashes, since the messaging module is already shutdown. How do I make sure that our application is undeployed *before* the depending Hornet/JMS modules?

       

      I have tried a MANIFEST.MF with this line: Dependencies: javax.jms.api org.jboss.as.messaging org.hornetq, but that doesn't give the desired result. What am I missing here?