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:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<WireTap>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
public class WireTapSpec extends IntegrationComponentSpec<WireTapSpec,WireTap> implements ComponentsRegistration
The
IntegrationComponentSpec
implementation for the WireTap
component.- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Constructor Description WireTapSpec(String channelName)
WireTapSpec(MessageChannel channel)
-
Method Summary
Modifier and Type Method Description protected WireTap
doGet()
Map<Object,String>
getComponentsToRegister()
WireTapSpec
selector(String selectorExpression)
WireTapSpec
selector(Expression selectorExpression)
Specify anExpression
for selector.WireTapSpec
selector(MessageSelector selector)
WireTapSpec
timeout(long timeout)
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
Method Details
-
selector
-
selector
Specify anExpression
for selector.- Parameters:
selectorExpression
- the expression for selector.- Returns:
- the current
WireTapSpec
- Since:
- 1.2
- See Also:
WireTap(MessageChannel, MessageSelector)
-
selector
-
timeout
-
doGet
- Overrides:
doGet
in classIntegrationComponentSpec<WireTapSpec,WireTap>
-
getComponentsToRegister
- Specified by:
getComponentsToRegister
in interfaceComponentsRegistration
-