Class GatewayMethodMetadata
java.lang.Object
org.springframework.integration.gateway.GatewayMethodMetadata
Represents the metadata associated with a Gateway method. This is most useful when there are
multiple methods per Gateway interface.
The sub-element of a <gateway> element would look like this: <method name="echo" request-channel="inputA" reply-timeout="2" request-timeout="200"/>
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.expression.ExpressionvoidsetHeaderExpressions(Map<String, org.springframework.expression.Expression> headerExpressions) voidsetPayloadExpression(org.springframework.expression.Expression payloadExpression) voidsetReplyChannelName(String replyChannelName) voidsetReplyTimeout(String replyTimeout) voidsetRequestChannelName(String requestChannelName) voidsetRequestTimeout(String requestTimeout)
-
Constructor Details
-
GatewayMethodMetadata
public GatewayMethodMetadata()
-
-
Method Details
-
getPayloadExpression
@Nullable public org.springframework.expression.Expression getPayloadExpression() -
setPayloadExpression
public void setPayloadExpression(@Nullable org.springframework.expression.Expression payloadExpression) -
getHeaderExpressions
-
setHeaderExpressions
-
getRequestChannelName
-
setRequestChannelName
-
getReplyChannelName
-
setReplyChannelName
-
getRequestTimeout
-
setRequestTimeout
-
getReplyTimeout
-
setReplyTimeout
-