AS2ConfigData¶
-
public class
AS2ConfigData
extends KVPairData¶ The
AS2ConfigData
is the data structure representing the parameters set for as2 runtime configuration. This is the sample WSDL request for the message status WS request.<active-module-status> true | false </active-module-status> <inmessage-interval>15000</inmessage-interval> <inmessage-maxthread>0</inmessage-maxthread> <outmessage-interval>15000</outmessage-interval> <outmessage-maxthread>0</outmessage-maxthread> <outpayload-interval>15000</outpayload-interval> <outpayload-maxthread>0</outpayload-maxthread>
Author: Twinsen Tsang
Fields¶
CONFIG_KEY_SET¶
CONFIG_PREFIX¶
PARAM_KEY_SET¶
PARAM_PREFIX¶
stressMode¶
-
public boolean
stressMode
¶ This is special flag for stress test mode. In stress test mode, messages are bumped into Hermes2 before start processing. so we need to switch off the active module before bumping the message. and restart after bumping. At the result, we need a flag for switch on / off active task module.
Methods¶
getActiveModuleStatus¶
getActiveModuleStatusBn¶
-
public boolean
getActiveModuleStatusBn
()¶ Returns: Get the boolean value for ths active module status wanted to set for this data.
getInMessageExecInterval¶
getInMessageMaxThread¶
getOutMessageExecInterval¶
getOutMessageMaxThread¶
getOutPayloadExecInterval¶
getOutPayloadMaxThread¶
getSendEndpoint¶
setActiveModuleStatus¶
-
public void
setActiveModuleStatus
(boolean newStatus)¶ Set the new active module status wanted for this data.
Parameters: - newStatus – the new active module status wanted for this data.
setInMessageExecInterval¶
-
public void
setInMessageExecInterval
(long newInterval)¶ Parameters: - newInterval – the new execution interval for incoming message for this data.
setInMessageMaxThread¶
-
public void
setInMessageMaxThread
(long maxThread)¶ Parameters: - maxThread – the maximum thread for incoming message for this data.
setOutMessageExecInterval¶
-
public void
setOutMessageExecInterval
(long newInterval)¶ Parameters: - newInterval – the new execution interval for outgoing message for this data.
setOutMessageMaxThread¶
-
public void
setOutMessageMaxThread
(long maxThread)¶ Parameters: - maxThread – the maximum thread for outgoing message for this data.
setOutPayloadExecInterval¶
-
public void
setOutPayloadExecInterval
(long newInterval)¶ Parameters: - newInterval – the new execution interval for outgoing payload for this data.