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 WireTapdoGet()Map<Object,String>getComponentsToRegister()WireTapSpecselector(String selectorExpression)WireTapSpecselector(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, stopMethods 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 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
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-