public class PurgeEndpointAction extends AbstractTestAction implements org.springframework.beans.factory.BeanFactoryAware
description
Constructor and Description |
---|
PurgeEndpointAction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
doExecute(TestContext context)
Subclasses may add custom execution logic here.
|
org.springframework.beans.factory.BeanFactory |
getBeanFactory()
Gets the bean factory for endpoint name resolving.
|
List<String> |
getEndpointNames()
Gets the endpointNames.
|
List<Endpoint> |
getEndpoints()
Gets the endpoints.
|
Map<String,Object> |
getMessageSelector()
Gets the messageSelector.
|
String |
getMessageSelectorString()
Gets the messageSelectorString.
|
long |
getReceiveTimeout()
Gets the receiveTimeout.
|
long |
getSleepTime()
Gets the sleepTime.
|
protected Endpoint |
resolveEndpointName(String endpointName)
Resolve the endpoint by name.
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
PurgeEndpointAction |
setEndpointNames(List<String> endpointNames)
Sets the endpointNames.
|
PurgeEndpointAction |
setEndpoints(List<Endpoint> endpoints)
Sets the endpoints.
|
PurgeEndpointAction |
setMessageSelector(Map<String,Object> messageSelector)
Setter for messageSelector.
|
PurgeEndpointAction |
setMessageSelectorString(String messageSelectorString)
Set message selector string.
|
PurgeEndpointAction |
setReceiveTimeout(long receiveTimeout)
Set the receive timeout.
|
void |
setSleepTime(long sleepTime)
Sets the sleepTime.
|
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
public void doExecute(TestContext context)
AbstractTestAction
doExecute
in class AbstractTestAction
protected Endpoint resolveEndpointName(String endpointName)
endpointName
- the name to resolvepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public org.springframework.beans.factory.BeanFactory getBeanFactory()
public List<String> getEndpointNames()
public PurgeEndpointAction setEndpointNames(List<String> endpointNames)
endpointNames
- the endpointNames to setpublic List<Endpoint> getEndpoints()
public PurgeEndpointAction setEndpoints(List<Endpoint> endpoints)
endpoints
- the endpoints to setpublic PurgeEndpointAction setMessageSelector(Map<String,Object> messageSelector)
messageSelector
- public PurgeEndpointAction setMessageSelectorString(String messageSelectorString)
messageSelectorString
- public Map<String,Object> getMessageSelector()
public String getMessageSelectorString()
public long getReceiveTimeout()
public PurgeEndpointAction setReceiveTimeout(long receiveTimeout)
receiveTimeout
- the receiveTimeout to setpublic void setSleepTime(long sleepTime)
sleepTime
- the sleepTime to setpublic long getSleepTime()
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.