public class SourceCallbackRegistry extends Object
| Constructor and Description |
|---|
SourceCallbackRegistry() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AsyncMessageAttributes> |
getSourceCallback(RoutingKey routingKey)
Retrieves a source callback identified by the given
RoutingKey |
void |
registerSourceCallback(RoutingKey routingKey,
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AsyncMessageAttributes> sourceCallback)
Register a source callback with the given
RoutingKey |
void |
unregisterSourceCallback(RoutingKey routingKey)
Removes the source callback identified by the
RoutingKey |
public void registerSourceCallback(RoutingKey routingKey, org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AsyncMessageAttributes> sourceCallback)
RoutingKeyroutingKey - identifies the source callbackÏsourceCallback - source callbackpublic void unregisterSourceCallback(RoutingKey routingKey)
RoutingKeyroutingKey - key of the dispatcher to be removedpublic org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AsyncMessageAttributes> getSourceCallback(RoutingKey routingKey)
RoutingKeyroutingKey - key of the dispatcher to be retrievedCopyright © 2025 MuleSoft, Inc.. All rights reserved.