Class WireTapSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<WireTapSpec,WireTap>
org.springframework.integration.dsl.WireTapSpec
- All Implemented Interfaces:
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
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected WireTap
doGet()
selector
(Expression selectorExpression) Specify anExpression
for selector.selector
(MessageSelector selector) timeout
(long timeout) Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
WireTapSpec
-
WireTapSpec
-
-
Method Details
-
selector
-
selector
Specify anExpression
for selector.- Parameters:
selectorExpression
- the expression for selector.- Returns:
- the current
WireTapSpec
- Since:
- 1.2
- See Also:
-
selector
-
timeout
-
doGet
- Overrides:
doGet
in classIntegrationComponentSpec<WireTapSpec,
WireTap>
-
getComponentsToRegister
- Specified by:
getComponentsToRegister
in interfaceComponentsRegistration
-