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
- Author:
- Mark Fisher, Artem Bilan, Gareth Chapman, Cameron Mayfield, Chengchen Ji, Gary Russell
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final ExpressionParserstatic final Stringstatic final Expressionstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionMethodAnnotationPublisherMetadataSource(Set<Class<? extends Annotation>> annotationTypes) -
Method Summary
Modifier and TypeMethodDescriptiongetChannelName(Method method) getExpressionForPayload(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
-
RETURN_VALUE_EXPRESSION
-
-
Constructor Details
-
MethodAnnotationPublisherMetadataSource
public MethodAnnotationPublisherMetadataSource() -
MethodAnnotationPublisherMetadataSource
-
-
Method Details
-
setChannelAttributeName
-
getChannelName
-
getExpressionForPayload
-
getExpressionsForHeaders
-