| Modifier and Type | Method and Description |
|---|---|
Object |
TransformationService.transform(Object value,
org.mule.runtime.api.metadata.DataType valueDataType,
org.mule.runtime.api.metadata.DataType expectedDataType)
Given a value) it will try to transform it to the expected type defined in the {@code expectedDataType}
|
| Modifier and Type | Method and Description |
|---|---|
default org.reactivestreams.Publisher<Event> |
MessagingExceptionHandler.apply(MessagingException exception) |
Event |
MessagingExceptionHandler.handleException(MessagingException exception,
Event event)
Take some action when a messaging exception has occurred (i.e., there was a message in play when the exception occurred).
|
| Modifier and Type | Method and Description |
|---|---|
static MessagingException |
ExceptionUtils.putContext(MessagingException messagingException,
Processor failingMessageProcessor,
Event event,
FlowConstruct flowConstruct,
MuleContext muleContext) |
static MessagingException |
ExceptionUtils.updateMessagingException(org.slf4j.Logger logger,
Processor processor,
MessagingException exception,
ErrorTypeLocator errorTypeLocator,
ErrorTypeRepository errorTypeRepository,
FlowConstruct flowConstruct,
MuleContext muleContext)
Updates the
MessagingException to be thrown based on the content of the exception parameter and the chain of
causes inside it. |
static MessagingException |
ExceptionUtils.updateMessagingExceptionWithError(MessagingException exception,
Processor failing,
FlowConstruct flowConstruct) |
| Modifier and Type | Method and Description |
|---|---|
static Event |
ExceptionUtils.createErrorEvent(Event currentEvent,
Object annotatedObject,
MessagingException messagingException,
ErrorTypeLocator errorTypeLocator)
Create new
Event with Error instance set. |
static MessagingException |
ExceptionUtils.putContext(MessagingException messagingException,
Processor failingMessageProcessor,
Event event,
FlowConstruct flowConstruct,
MuleContext muleContext) |
static MessagingException |
ExceptionUtils.updateMessagingException(org.slf4j.Logger logger,
Processor processor,
MessagingException exception,
ErrorTypeLocator errorTypeLocator,
ErrorTypeRepository errorTypeRepository,
FlowConstruct flowConstruct,
MuleContext muleContext)
Updates the
MessagingException to be thrown based on the content of the exception parameter and the chain of
causes inside it. |
static MessagingException |
ExceptionUtils.updateMessagingExceptionWithError(MessagingException exception,
Processor failing,
FlowConstruct flowConstruct) |
| Modifier and Type | Method and Description |
|---|---|
MessagingException |
PipelineMessageNotification.getException() |
MessagingException |
AsyncMessageNotification.getException() |
MessagingException |
MessageProcessorNotification.getException() |
| Modifier and Type | Method and Description |
|---|---|
static MessageProcessorNotification |
MessageProcessorNotification.createFrom(Event event,
FlowConstruct flowConstruct,
Processor processor,
MessagingException exceptionThrown,
int action) |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageRedeliveredException |
| Modifier and Type | Method and Description |
|---|---|
protected Event |
OnErrorContinueHandler.afterRouting(MessagingException exception,
Event event) |
protected Event |
TemplateOnErrorHandler.afterRouting(MessagingException exception,
Event event) |
org.reactivestreams.Publisher<Event> |
MessagingExceptionStrategyAcceptorDelegate.apply(MessagingException exception) |
org.reactivestreams.Publisher<Event> |
TemplateOnErrorHandler.apply(MessagingException exception) |
org.reactivestreams.Publisher<Event> |
ErrorHandler.apply(MessagingException exception) |
protected Event |
OnErrorContinueHandler.beforeRouting(MessagingException exception,
Event event) |
protected Event |
TemplateOnErrorHandler.beforeRouting(MessagingException exception,
Event event) |
protected Event |
OnErrorPropagateHandler.beforeRouting(MessagingException exception,
Event event) |
Event |
AbstractMessagingExceptionStrategy.handleException(MessagingException ex,
Event event) |
Event |
MessagingExceptionHandlerToSystemAdapter.handleException(MessagingException exception,
Event event) |
Event |
MessagingExceptionStrategyAcceptorDelegate.handleException(MessagingException exception,
Event event) |
Event |
TemplateOnErrorHandler.handleException(MessagingException exception,
Event event) |
Event |
ErrorHandler.handleException(MessagingException exception,
Event event) |
protected org.reactivestreams.Publisher<Event> |
TemplateOnErrorHandler.routeAsync(Event event,
MessagingException t) |
protected org.reactivestreams.Publisher<Event> |
OnErrorPropagateHandler.routeAsync(Event event,
MessagingException t) |
| Constructor and Description |
|---|
MessagingException(Event event,
MessagingException original) |
| Modifier and Type | Method and Description |
|---|---|
MessagingException |
SourceErrorException.toMessagingException() |
| Modifier and Type | Method and Description |
|---|---|
Optional<MessagingException> |
SourceErrorException.getOriginalCause() |
| Modifier and Type | Method and Description |
|---|---|
void |
FlowProcessingPhaseTemplate.afterFailureProcessingFlow(MessagingException messagingException)
Call when the processing of the message through the flow fails.
|
Event |
ResponseCompletionCallback.responseSentWithFailure(MessagingException e,
Event event)
Notifies that the response writing failed
|
void |
RequestResponseFlowProcessingPhaseTemplate.sendFailureResponseToClient(MessagingException messagingException) |
org.reactivestreams.Publisher<Void> |
ModuleFlowProcessingPhaseTemplate.sendFailureResponseToClient(MessagingException exception,
Map<String,Object> parameters,
ResponseCompletionCallback responseCompletionCallback) |
void |
AsyncResponseFlowProcessingPhaseTemplate.sendFailureResponseToClient(MessagingException exception,
ResponseCompletionCallback responseCompletionCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
ModuleFlowProcessingPhaseTemplate.sendAfterTerminateResponseToClient(Either<MessagingException,Event> either) |
| Modifier and Type | Method and Description |
|---|---|
Event |
ExceptionToMessagingExceptionExecutionInterceptor.execute(Processor messageProcessor,
Event event) |
Event |
MessageProcessorExecutionTemplate.execute(Processor messageProcessor,
Event event) |
Event |
MessageProcessorExecutionInterceptor.execute(Processor messageProcessor,
Event event) |
| Constructor and Description |
|---|
SourceErrorException(Event event,
org.mule.runtime.api.message.ErrorType errorType,
Throwable cause,
MessagingException originalCause) |
| Modifier and Type | Class and Description |
|---|---|
class |
FlowExecutionException
Exception used to signal the failure exception of the flow.
|
| Modifier and Type | Method and Description |
|---|---|
MessagingException |
FailureSourcePolicyResult.getMessagingException() |
| Constructor and Description |
|---|
FailureSourcePolicyResult(MessagingException messagingException,
Map<String,Object> errorResponseParameters)
Creates a new failed policy result.
|
| Modifier and Type | Method and Description |
|---|---|
protected MessagingException |
AbstractFilteringMessageProcessor.filterFailureException(Event event,
Exception ex) |
| Modifier and Type | Method and Description |
|---|---|
protected Event |
AbstractRequestResponseMessageProcessor.processCatch(Event event,
MessagingException exception) |
protected void |
AbstractRequestResponseMessageProcessor.processFinally(Event event,
MessagingException exception)
Used to perform post processing after both request and response phases have been completed.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
InvokerMessageProcessor.evaluateArguments(Event event,
List<?> argumentTemplates) |
protected Event |
AbstractRequestResponseMessageProcessor.processCatch(Event event,
MessagingException exception) |
| Modifier and Type | Method and Description |
|---|---|
protected MessagingException |
MessageFilter.filterFailureException(Event event,
Exception ex) |
| Modifier and Type | Method and Description |
|---|---|
protected Event |
Foreach.doProcess(Event event) |
protected String |
IdempotentMessageValidator.getValueForEvent(Event event) |
| Modifier and Type | Method and Description |
|---|---|
protected Event |
AbstractOutboundRouter.doProcessRoute(Processor route,
Event event) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractAsyncRequestReplyRequester.postLatchAwait(String asyncReplyCorrelationId) |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.