Class WireTapSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<WireTapSpec,WireTap>
org.springframework.integration.dsl.WireTapSpec
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<WireTap>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle,ComponentsRegistration
public class WireTapSpec extends IntegrationComponentSpec<WireTapSpec,WireTap> implements ComponentsRegistration
The
IntegrationComponentSpec implementation for the WireTap component.- Since:
- 5.0
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Constructor Description WireTapSpec(java.lang.String channelName)WireTapSpec(org.springframework.messaging.MessageChannel channel) -
Method Summary
Modifier and Type Method Description protected WireTapdoGet()java.util.Map<java.lang.Object,java.lang.String>getComponentsToRegister()WireTapSpecselector(java.lang.String selectorExpression)WireTapSpecselector(org.springframework.expression.Expression selectorExpression)Specify anExpressionfor selector.WireTapSpecselector(MessageSelector selector)WireTapSpectimeout(long timeout)Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
-
Constructor Details
-
WireTapSpec
public WireTapSpec(org.springframework.messaging.MessageChannel channel) -
WireTapSpec
public WireTapSpec(java.lang.String channelName)
-
-
Method Details
-
selector
-
selector
Specify anExpressionfor selector.- Parameters:
selectorExpression- the expression for selector.- Returns:
- the current
WireTapSpec - Since:
- 1.2
- See Also:
WireTap(MessageChannel, MessageSelector)
-
selector
-
timeout
-
doGet
- Overrides:
doGetin classIntegrationComponentSpec<WireTapSpec,WireTap>
-
getComponentsToRegister
public java.util.Map<java.lang.Object,java.lang.String> getComponentsToRegister()- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-