Configuration of inner system‌ (DMZ)

1. The inner Integration Server needs to know the server name/IP address and message port of the DMZ server, which are set in the configuration file ./etc/startup.xml of the inner Integration Server in section "DataWizard".

...
<Set name="dmzHost">IP_of_your_DMZ_server</Set>
<Set name="dmzPort">port_of_the_message_service_of_DMZ_server</Set>
...


2. The MessageService needs to be started and its remote interface needs to be activated, which is done in the following section in configuration file ./etc/message.xml.


<Configure class="com.ebd.hub.services.message.MessageService">
<Call name="enableRemoteInterface">
<Arg>0.0.0.0</Arg><Arg type="int">8020</Arg>
</Call>
...


Once the MessageService of the inner server is started, its remote interface listens on all IP addresses of the inner server (0.0.0.0) on port 8020.


3. The inner AuthenticationService needs to be ready to receive messages from the DMZ server. Therefore, it needs to be registered as a Message Consumer for a certain Message Queue at the MessageService of the inner server in configuration file ./etc/auth.xml.


<Configure class="com.ebd.hub.services.auth.AuthenticationService">
<!-- The Message Queue for receiving from DMZ . Default if not set: System : AuthCall
<Set name="messageContext">System</Set>
<Set name="messageQueue">AuthCall</Set>
-->
<!-- Allow consumption of messages received from Message Authentication Service in DMZ. Default: false -->
< Set name="consumeMessages">True</Set>
...


If there is no explicit configuration in file ./etc/auth.xml (of the inner server) for messageContext and messageQueue, the service uses the queue System:AuthCall.

Recommendation: Use the standard name (i.e. leave section commented out).

Warning: Do not use the queue for other purposes!

If consumeMessages has the value true, the AuthenticationService is registered as a Message Consumer with the MessageService. If the Message Queue does not yet exist, it is generated during startup.


4. The inner CommunicationLogService uses same-named parameters in configuration file ./etc/commlog.xml. The default for the Message Queue there is System:CommlogCall.