public abstract class WmAsynchronousNotification extends WmNotification
WmRecord
Modifier and Type | Field and Description |
---|---|
static int |
ART_RESERVED_MSG_ID_CHARS
number of character in the a published notification's message ID that are reserved for
use by ART.
|
_localPublish, _notificationNodeName, _pubRecNodeName, _repRecNodeName, _reqRecNodeName, _serviceName, _UUID
NOTIFY_DELETE, NOTIFY_DELETE_CALLBACK_NAME, NOTIFY_DISABLE, NOTIFY_DISABLE_CALLBACK_NAME, NOTIFY_ENABLE, NOTIFY_ENABLE_CALLBACK_NAME, NOTIFY_INIT, NOTIFY_INIT_CALLBACK_NAME, NOTIFY_RESUME, NOTIFY_RESUME_CALLBACK_NAME, NOTIFY_SHUTDOWN, NOTIFY_SHUTDOWN_CALLBACK_NAME, NOTIFY_STARTUP, NOTIFY_STARTUP_CALLBACK_NAME, NOTIFY_SUSPEND, NOTIFY_SUSPEND_CALLBACK_NAME, NOTIFY_UPDATE, NOTIFY_UPDATE_CALLBACK_NAME, ORDERED_NAME_LIST
Constructor and Description |
---|
WmAsynchronousNotification() |
Modifier and Type | Method and Description |
---|---|
int |
adapterMaxMessageIdLen()
This method will return the maximum number of bytes an adapter can use for a resource-specific message ID
when publishing a record.
|
void |
configureIOProperties(PipelineRecordProperties input,
PipelineRecordProperties output)
fullfill ComplexTemplate interface.
|
void |
doNotify(WmRecord rec)
Asynchronously publishes a record to the webMethods Integration Server
dispatcher.
|
void |
doNotify(WmRecord rec,
java.lang.String msgID)
Asynchronously publishes a record to the webMethods Integration Server
dispatcher.
|
java.lang.String |
inputRecordName() |
java.lang.String |
outputRecordName() |
void |
populateMetadata(ComplexMetadata md,
java.util.Locale l)
extend base class impl to also disable the PassFullPipeline feature
|
protected void |
setDocumentProperties(PipelineRecordProperties properties)
Adapter writers should override this method to configure properties of documents
published by this notification (e.g.
|
changeNotificationData, checkTransaction, commitTransaction, debuglog, deleteCallBack, disableCallBack, dispatchConnectionError, enableCallBack, enabled, errorLog, execute, fillWmTemplateDescriptor, getConnection, getConnectionDataNode, getDesignTimeLocale, initCallBack, initNotificationNodeProperties, logCallback, logDebugPlus, logDebugPlus, logDebugPlus, logDebugPlusNamed, makeDetailedException, makeDetailedException, makeDetailedException, makeDetailedException, nodeName, nodeNameOrUnknown, notifyEvent, queryPackage, resumeCallBack, returnNotificationData, rollbackTransaction, runNotification, runNotification, sendEventToEventBus, setDesignTimeLocale, shutdownCallBack, startupCallBack, suspendCallBack, updateCallBack
public static final int ART_RESERVED_MSG_ID_CHARS
public int adapterMaxMessageIdLen()
public void configureIOProperties(PipelineRecordProperties input, PipelineRecordProperties output) throws javax.resource.ResourceException
configureIOProperties
in interface com.wm.pkg.art.metadata.ComplexTemplate
configureIOProperties
in class WmNotification
input
- input record for the template (null if n/a)output
- output record for the templatejavax.resource.ResourceException
ComplexTemplate.configureIOProperties(com.wm.adk.metadata.PipelineRecordProperties, com.wm.adk.metadata.PipelineRecordProperties)
public void doNotify(WmRecord rec) throws java.lang.IllegalArgumentException, AdapterException
rec
- the record that will be sent to the dispatcher. It cannot be null.java.lang.IllegalArgumentException
- thrown if rec is nullAdapterException
- thrown on all other failurespublic void doNotify(WmRecord rec, java.lang.String msgID) throws java.lang.IllegalArgumentException, AdapterException
adapterMaxMessageIdLen()
.
If this length is exceeded the record will be rejected and an exception will be
thrown.rec
- the record that will be sent to the dispatcher. It cannot be null.msgID
- a resource-unique id that will be used to publish. It cannot be null.
It cannot exceed the systems length retriction.java.lang.IllegalArgumentException
- thrown if rec is nullAdapterException
- thrown on all other failurespublic final java.lang.String inputRecordName()
inputRecordName
in interface com.wm.pkg.art.metadata.ComplexTemplate
inputRecordName
in class WmNotification
public final java.lang.String outputRecordName()
outputRecordName
in interface com.wm.pkg.art.metadata.ComplexTemplate
outputRecordName
in class WmNotification
public final void populateMetadata(ComplexMetadata md, java.util.Locale l) throws javax.resource.ResourceException
populateMetadata
in interface com.wm.pkg.art.metadata.ComplexTemplate
populateMetadata
in class WmNotification
javax.resource.ResourceException
ComplexTemplate.populateMetadata(com.wm.adk.metadata.ComplexMetadata, java.util.Locale)
protected void setDocumentProperties(PipelineRecordProperties properties) throws javax.resource.ResourceException
properties
- javax.resource.ResourceException
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.