-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
-
Workaround Exists
-
If EAR container 2 MP FT modules where each has different configuration for Hystrix then it is initialized by randomly and does not respect module deployment order defined in META-INF/application.xml:
<?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6"> <initialize-in-order>true</initialize-in-order> <module> <web> <web-uri>first-module.war</web-uri> <context-root>first-module</context-root> </web> </module> <module> <web> <web-uri>second-module.war</web-uri> <context-root>second-module</context-root> </web> </module> </application>
It's expected that first-module would configured Hystric based on above application.xml.