My Message Inflow MDB should depend upon the rar deployment
My MDB is starting before the RAR is deployed
My MDB is still active after I undeploy my RAR
You need to make the MDB depend upon the rar deployment.
<jboss> <message-driven> <depends>jboss.jca:service=RARDeployment,name='yourrar.rar'</depends> <resource-adapter-name>yourrar.rar</resource-adapter-name> </message-driven> </jboss>
The dependency/ordering only applies to the endpoint activation/deactivation.
It will not help if you have problems with class (re)deployment ordering.
Feature Request - You can vote for it