This component allows firing
ExtensionNotifications with both custom data and default one.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidfire(NotificationActionDefinition action, org.mule.runtime.api.metadata.TypedValue<?> data) Fires anExtensionNotificationwith the desired information.default voidfireLazy(NotificationActionDefinition action, Supplier<?> dataValue, org.mule.runtime.api.metadata.DataType dataType) Fires anExtensionNotificationwith the desired information.
-
Method Details
-
fire
Fires anExtensionNotificationwith the desired information.- Parameters:
action- theNotificationActionDefinitionto use.data- theTypedValuedata to use.
-
fireLazy
default void fireLazy(NotificationActionDefinition action, Supplier<?> dataValue, org.mule.runtime.api.metadata.DataType dataType) Fires anExtensionNotificationwith the desired information.- Parameters:
action- theNotificationActionDefinitionto use.dataValue- a supplier for the theObjectto use as value of the generatedDataType.dataType- the type of the data returned by the provided supplier.
-