public class WireTapSpec extends IntegrationComponentSpec<WireTapSpec,WireTap> implements ComponentsRegistration
IntegrationComponentSpec
implementation for the WireTap
component.logger, PARSER, target
Constructor and Description |
---|
WireTapSpec(org.springframework.messaging.MessageChannel channel) |
WireTapSpec(java.lang.String channelName) |
Modifier and Type | Method and Description |
---|---|
protected WireTap |
doGet() |
java.util.Map<java.lang.Object,java.lang.String> |
getComponentsToRegister() |
WireTapSpec |
selector(org.springframework.expression.Expression selectorExpression)
Specify an
Expression for selector. |
WireTapSpec |
selector(MessageSelector selector) |
WireTapSpec |
selector(java.lang.String selectorExpression) |
WireTapSpec |
timeout(long timeout) |
_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, id, isSingleton
public WireTapSpec(org.springframework.messaging.MessageChannel channel)
public WireTapSpec(java.lang.String channelName)
public WireTapSpec selector(java.lang.String selectorExpression)
public WireTapSpec selector(org.springframework.expression.Expression selectorExpression)
Expression
for selector.selectorExpression
- the expression for selector.WireTapSpec
WireTap.WireTap(MessageChannel, MessageSelector)
public WireTapSpec selector(MessageSelector selector)
public WireTapSpec timeout(long timeout)
protected WireTap doGet()
doGet
in class IntegrationComponentSpec<WireTapSpec,WireTap>
public java.util.Map<java.lang.Object,java.lang.String> getComponentsToRegister()
getComponentsToRegister
in interface ComponentsRegistration