public class OperationDeclarer extends ComponentDeclarer<T,D>
OperationDeclaration through a fluent APIdeclaration| Modifier and Type | Method and Description |
|---|---|
T |
blocking(boolean blocking)
Specifies if the operation is blocking or it allows non blocking execution
|
T |
withErrorModel(ErrorModel error)
Adds an
ErrorModel to indicate that the current operation could throw the added error. |
T |
withExecutionType(ExecutionType executionType)
Specifies the operation's
ExecutionType |
describedAs, requiresConnection, supportsStreaming, transactional, withModelProperty, withStereotypewithOutput, withOutputAttributesonDefaultParameterGroup, onParameterGroupgetDeclarationpublic T withErrorModel(ErrorModel error)
ErrorModel to indicate that the current operation could throw the added error.error - ErrorModel to add to the OperationDeclarationthis declarerpublic T withExecutionType(ExecutionType executionType)
ExecutionTypeexecutionType - the execution typethis declarerpublic T blocking(boolean blocking)
blocking - whether the operation is blocking or notthis declarerCopyright © 2017 MuleSoft, Inc.. All rights reserved.