InterviewSolution
| 1. |
How Can We Make A Command Retriable? |
|
Answer» A retriable command is a controller command that can re-execute itself after encountering a system-level exception during the command execution. To MAKE an existing controller command retriable, must perform one of the following steps: Set the retriable PROPERTIES in the PROPERTIES column of the CMDREG database table, where PROPERTIES is the default properties associated with this command. The properties are in the property1=value1&property2=value2 form, where propertyn is the name of the property and valuen is the value corresponding to the property. Set an instance property <CommandRegistryRetriableProperty defaultValue="1" /> in the wc-server.xml FILE. Functional architecture and Runtime architecture of WCS 6.0/WCS 7.0. A retriable command is a controller command that can re-execute itself after encountering a system-level exception during the command execution. To make an existing controller command retriable, must perform one of the following steps: Set the retriable properties in the PROPERTIES column of the CMDREG database table, where PROPERTIES is the default properties associated with this command. The properties are in the property1=value1&property2=value2 form, where propertyn is the name of the property and valuen is the value corresponding to the property. Set an instance property <CommandRegistryRetriableProperty defaultValue="1" /> in the wc-server.xml file. Functional architecture and Runtime architecture of WCS 6.0/WCS 7.0. |
|