Class GatewayMethodMetadata
java.lang.Object
org.springframework.integration.gateway.GatewayMethodMetadata
public class GatewayMethodMetadata
extends java.lang.Object
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 Constructor Description GatewayMethodMetadata()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,org.springframework.expression.Expression>
getHeaderExpressions()
org.springframework.expression.Expression
getPayloadExpression()
java.lang.String
getReplyChannelName()
java.lang.String
getReplyTimeout()
java.lang.String
getRequestChannelName()
java.lang.String
getRequestTimeout()
void
setHeaderExpressions(java.util.Map<java.lang.String,org.springframework.expression.Expression> headerExpressions)
void
setPayloadExpression(org.springframework.expression.Expression payloadExpression)
void
setReplyChannelName(java.lang.String replyChannelName)
void
setReplyTimeout(java.lang.String replyTimeout)
void
setRequestChannelName(java.lang.String requestChannelName)
void
setRequestTimeout(java.lang.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
public java.util.Map<java.lang.String,org.springframework.expression.Expression> getHeaderExpressions() -
setHeaderExpressions
public void setHeaderExpressions(@Nullable java.util.Map<java.lang.String,org.springframework.expression.Expression> headerExpressions) -
getRequestChannelName
public java.lang.String getRequestChannelName() -
setRequestChannelName
public void setRequestChannelName(java.lang.String requestChannelName) -
getReplyChannelName
public java.lang.String getReplyChannelName() -
setReplyChannelName
public void setReplyChannelName(java.lang.String replyChannelName) -
getRequestTimeout
@Nullable public java.lang.String getRequestTimeout() -
setRequestTimeout
public void setRequestTimeout(@Nullable java.lang.String requestTimeout) -
getReplyTimeout
@Nullable public java.lang.String getReplyTimeout() -
setReplyTimeout
public void setReplyTimeout(@Nullable java.lang.String replyTimeout)
-