I - the request input attributes type that the listener accepts.public abstract class RoutingManager<I> extends Object
Sources register listeners callbacks on it and it verifies that:
| Modifier and Type | Field and Description |
|---|---|
protected Map<RoutingKey,Function<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,I>,DefaultRoutingContext>> |
callbacks |
| Constructor and Description |
|---|
RoutingManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerListenerCallback(RoutingKey routingKey,
Function<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,I>,DefaultRoutingContext> callback) |
RoutingContext |
route(RoutingKey routingKey,
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,I> sourceInput) |
void |
unregisterListenerCallback(RoutingKey routingKey) |
protected final Map<RoutingKey,Function<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,I>,DefaultRoutingContext>> callbacks
public void registerListenerCallback(RoutingKey routingKey, Function<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,I>,DefaultRoutingContext> callback)
public void unregisterListenerCallback(RoutingKey routingKey)
public RoutingContext route(RoutingKey routingKey, org.mule.runtime.extension.api.runtime.operation.Result<InputStream,I> sourceInput) throws NotImplementedException
NotImplementedExceptionCopyright © 2021 MuleSoft, Inc.. All rights reserved.