Class MethodAnnotationPublisherMetadataSource
java.lang.Object
org.springframework.integration.aop.MethodAnnotationPublisherMetadataSource
An
PublisherMetadataSource implementation that retrieves the channel
name and expression strings from an annotation.- Since:
- 2.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMethodAnnotationPublisherMetadataSource(Set<Class<? extends Annotation>> annotationTypes) -
Method Summary
Modifier and TypeMethodDescriptiongetChannelName(Method method) org.springframework.expression.ExpressiongetExpressionForPayload(Method method) getExpressionsForHeaders(Method method) voidsetChannelAttributeName(String channelAttributeName)
-
Field Details
-
METHOD_NAME_VARIABLE_NAME
- See Also:
-
ARGUMENT_MAP_VARIABLE_NAME
- See Also:
-
RETURN_VALUE_VARIABLE_NAME
- See Also:
-
EXCEPTION_VARIABLE_NAME
- See Also:
-
EXPRESSION_PARSER
static final org.springframework.expression.ExpressionParser EXPRESSION_PARSER -
RETURN_VALUE_EXPRESSION
static final org.springframework.expression.Expression RETURN_VALUE_EXPRESSION
-
-
Constructor Details
-
MethodAnnotationPublisherMetadataSource
public MethodAnnotationPublisherMetadataSource() -
MethodAnnotationPublisherMetadataSource
-
-
Method Details
-
setChannelAttributeName
-
getChannelName
-
getExpressionForPayload
-
getExpressionsForHeaders
-