Package | Description |
---|---|
org.mule.runtime.api.interception |
Modifier and Type | Method and Description |
---|---|
InterceptionEvent |
InterceptionEvent.addVariable(String key,
Object value)
Add a variable.
|
InterceptionEvent |
InterceptionEvent.addVariable(String key,
Object value,
DataType mediaType)
Add a variable.
|
InterceptionEvent |
InterceptionEvent.message(Message message)
Set the
Message to construct the target Event with. |
InterceptionEvent |
InterceptionEvent.removeVariable(String key)
Remove a variable.
|
InterceptionEvent |
InterceptionEvent.variables(Map<String,Object> variables)
Set a map of variables.
|
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<InterceptionEvent> |
ProcessorInterceptor.around(ComponentLocation location,
Map<String,ProcessorParameterValue> parameters,
InterceptionEvent event,
InterceptionAction action)
|
CompletableFuture<InterceptionEvent> |
InterceptionAction.fail(ErrorType errorType)
Interrupts the current interception chain, not running the next
interceptors in the chain and
the intercepted component. |
CompletableFuture<InterceptionEvent> |
InterceptionAction.fail(Throwable cause)
Interrupts the current interception chain, not running the next
interceptors in the chain and
the intercepted component. |
CompletableFuture<InterceptionEvent> |
InterceptionAction.proceed()
Indicates that the current interception chain must continue, proceeding with the next
handlers
in the chain (if any) and the intercepted component. |
CompletableFuture<InterceptionEvent> |
InterceptionAction.skip()
Interrupts the current interception chain, skipping the next
interceptors in the chain and the
intercepted component. |
Modifier and Type | Method and Description |
---|---|
default void |
ProcessorInterceptor.after(ComponentLocation location,
InterceptionEvent event,
Optional<Throwable> thrown)
This method is called after the intercepted component has run.
|
default CompletableFuture<InterceptionEvent> |
ProcessorInterceptor.around(ComponentLocation location,
Map<String,ProcessorParameterValue> parameters,
InterceptionEvent event,
InterceptionAction action)
|
default void |
ProcessorInterceptor.before(ComponentLocation location,
Map<String,ProcessorParameterValue> parameters,
InterceptionEvent event)
This method is called before the intercepted component has run.
|
Copyright © 2018. All rights reserved.