1 Reply Latest reply on Nov 19, 2010 1:26 PM by Clebert Suconic

    Failover Branch added Configuration to JMSServerConfigParserImpl

    Clebert Suconic Master

      We can't have this dependency.

       

      On the application server, the XMLs can be parsed based on natural order, and they could be parsed even before the Server is started... So, you can't have the dependency.

       

      If you need cross reference to the config, you should have just the name referenced, and you should lookup the config name when necessary.

        • 1. Re: Failover Branch added Configuration to JMSServerConfigParserImpl
          Clebert Suconic Master

          Besides it doesn't make sense anyway. Say you added he discoveryName on the mainConfig.

           

          When you create a connectionFactory through management, you want to reference the discoveryName which will have the ports, config.. etc.

           

          Now say you moved the server to another network (say because of a cloud move.. or something).

           

          You will now have to recreate all the ConnectionFactories because of this.... So, the JMSConnectionFactories should have a reference to the main config and not replicate the information everywhere. Just a simple principle applied to any ER database here.