Class SimplePublisherMetadataSource
java.lang.Object
org.springframework.integration.aop.SimplePublisherMetadataSource
Simple implementation of
PublisherMetadataSource that allows for
configuration of a single channel name, payload expression, and
array of header key=value expressions.- Since:
- 2.0
- Author:
- Mark Fisher, Artem Bilan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final ExpressionParserstatic final Stringstatic final Expressionstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChannelName(Method method) getExpressionForPayload(Method method) getExpressionsForHeaders(Method method) voidsetChannelName(String channelName) voidsetHeaderExpressions(Map<String, String> headerExpressions) voidsetPayloadExpression(String payloadExpression)
-
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
-
SimplePublisherMetadataSource
public SimplePublisherMetadataSource()
-
-
Method Details
-
setChannelName
-
getChannelName
-
setPayloadExpression
-
getExpressionForPayload
-
setHeaderExpressions
-
getExpressionsForHeaders
-