When deploys ear which depends on activemq in Wildfly, get .failed file which has below content:
"{"WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.subunit.\"project-sff-e30003549-ear.ear\".\"project-sff-e30003549-server.war\".component.AstroMsgHandler.CREATE is missing [jboss.ra.activemq-rar]", "jboss.naming.context.java.module.project-sff-e30003549-ear.project-sff-e30003549-server.env.\"enisco.emes.project.sff.e30003549.server.astro.XmlMsgSender\".connFactory is missing [jboss.naming.context.java.jboss.IBMMQConnectionFactory]" ]}"
The error message says jboss.ra.activemq-rar is missing, actually activemq is configured correctly.
Finally, it is found out that Wildfly installation directory contains space, eg C:\install directory\Wildfly. When deploys activemq module, Wildflys is looking for directory named C:\install%20directory\Wildfly\modules\system\layers\base\org\apache\activemq\main, which obviously doesn't exist.
So re-install Wildfly in directory without space resolves the issue.