Method | Description |
fillWmTemplateDescriptor | Modifies how metadata parameters are handled during data entry similar to the WmAdapterService.fillWmTemplateDescriptor method. Failing to override this method results in a runtime error. For more information, see
WmTemplateDescriptor Interface. |
runNotification | Receives no input and returns results by calling the WmAsynchronousNotification.doNotify method, and passing it a WmRecord instance that must conform to the output signature of the polling notification node. For more information, see
Specifying Notification Signatures
(Document Type). The WmRecord is constructed in exactly the same way it is constructed for adapter services. For more information, see
Adapter Service Execution. |
doNotify | The WmAsynchronousNotification class provides two forms of doNotify method: 1. Process the notification Exactly Once public void doNotify(WmRecord rec, String msgID) Receives two input parameters: WmRecord object, and String object for message ID. Provides a resource specific msgID value with each notification record: ![]() ![]() ![]() Integration Server guarantees that msgID values generated by different notification nodes are unique. This is accomplished by combining the msgID value provided by the adapter with a GUID created by Integration Server, and associated with the notification node when it is created. Note: A fixed number of characters are available in Integration Server to hold a notification ID. Of these, the WmART package reserves a certain number to hold a unique ID that is inserted prior to dispatching a notification. The remaining characters are available to you when calling WmAsynchronousNotification.doNotify(WmRecord rec, String msgId). The length (number of characters) of the value in msgId must not exceed a particular limit. Call the WmAsynchronousNotification.adapterMaxMessageIdLen method to determine this limit. For more information, see the Javadoc. 2. Process the notification public void doNotify(WmRecord rec) Receives one input parameters: WmRecord object. |