|
15.1 What is Automatic Acknowledgement?
15.2 Enabling Automatic Acknowledgement.
15.3 Configuring Automatic Acknowledgement
15.1 What is Automatic Acknowledgement?
When the NE takes more than two seconds to send the response for an input message, an acknowledgement message is sent to the manager automatically. The TL1 Agent takes care of this automatic acknowledgement. When the response is not sent within two seconds, then the agent sends an acknowledgement of type "IN PROGRESS.
Automatic Acknowledgement feature is available in both standalone and Multi Protocol TL1 Agents.
15.2 Enabling Automatic Acknowledgment.
This feature can be enabled or disabled using the following method in the AdventNetTL1Agent.java. (or AgentName specified in the Compiler Code Generation Settings)
For Standalone TL1 Agent:
tl1Agent.setAutoAckEnabled(true);
This should be added in initialize() method in AdventNetTL1Agent.java. By default, Automatic Acknowledgment is enabled in the Standalone TL1 Agent. To Cancel the Automatic Acknowledgement, following should be added in initialize() method in AdventNetTL1Agent.java
tl1Agent.setAutoAckEnabled(false);
For JMX TL1 Agent:
tl1adaptor.setAutoAckEnabled(true) ;
This should be added in registerAdventNetAdaptors() method in AdventNetJMXAgent.java. By default, Automatic Acknowledgement is enabled in the Standalone TL1 Agent
15.3 Setting Automatic Acknowledgement Time
The default time, two seconds, for receiving the Automatic Acknowledgement is configurable by the user. The following methods can be used.
For Standalone TL1 Agents
tl1Agent.setAckTime(3000)
This should be added in initialize() method in AdventNetTL1Agent.java.
For JMX Agents
tl1adaptor.setAckTime(3000);
This should be added in registerAdventNetAdaptors() method in AdventNetJMXAgent.java.
Here, 3000 represents milliseconds after which acknowledgement needs to be sent.
|