What is Recoverability and how to set an individual RecoverLevel per XCF object instance?
XCF objects are able to recover themself from certain error conditions like e.g. a missing server object when calling receive on an XCF Publisher or callMethod on an XCF Server instance. This XCF feature is called Recoverability but for development purposes switched of by default. Even so, it can be very useful for indivual XCF objects like a subscriber and situations where e.g. an XCF component containing a subscriber is started before the corresponding publisher. To prevent writing the re-connection code yourself, we introduced recoverability. The default “recoverability” of all instantiated XCF components can be set with the XCF.Global.RecoverLevel property and is set to NONE as stated above. Even though, it is possible to set the recoverability level of an XCF object individually. Therefore, an overloaded create-method exists that can take an additional RecoverLevel parameter that has one of the following values: NONE, LIMITED, FULL. The subscriber of the stream example uses FULL r