The Class 'CommunicationForwardManager'
The class com.ebd.hub.datawizard.app.CommunicationForwardManager is the central application that is responsible for the exchange of messages with the inner Lobster_data.
The DMZ server needs to know how to notify Lobster_data. This setting is maintained in the configuration file ./etc/startup_dmz.xml.
The application CommunicationForwardManager needs to be activated and both arguments for the inner host and its port number need to be set.
The following listing shows the entry in configuration file ./etc/startup_dmz.xml of the DMZ server that starts the CommunicationForwardManager.
<
Call
name
=
"addApplication"
>
<
Arg
>
<
New
class
=
"com.ebd.hub.datawizard.app.CommunicationForwardManager"
>
...
<
Call
name
=
"setForwardHost"
>
<
Arg
>
<
New
class
=
"com.ebd.hub.services.message.Target"
>
<
Arg
>innerhost</
Arg
>
<
Arg
type
=
"int"
>8020</
Arg
>
</
New
>
</
Arg
>
</
Call
>
...
</
New
>
</
Arg
>
</
Call
>