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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final ExpressionParser
static final String
static final Expression
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChannelName
(Method method) getExpressionForPayload
(Method method) getExpressionsForHeaders
(Method method) void
setChannelName
(String channelName) void
setHeaderExpressions
(Map<String, String> headerExpressions) void
setPayloadExpression
(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
-