Package org.citrusframework.config.xml
Class AbstractReceiveMessageActionFactoryBean<T extends ReceiveMessageAction,M extends ReceiveMessageBuilderSupport<T,B,M>,B extends ReceiveMessageAction.ReceiveMessageActionBuilder<T,M,B>>
java.lang.Object
org.citrusframework.config.xml.AbstractTestActionFactoryBean<T,B>
org.citrusframework.config.xml.AbstractReceiveMessageActionFactoryBean<T,M,B>
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<T>
- Direct Known Subclasses:
ReceiveMessageActionParser.ReceiveMessageActionFactoryBean
public abstract class AbstractReceiveMessageActionFactoryBean<T extends ReceiveMessageAction,M extends ReceiveMessageBuilderSupport<T,B,M>,B extends ReceiveMessageAction.ReceiveMessageActionBuilder<T,M,B>>
extends AbstractTestActionFactoryBean<T,B>
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BProvides the test action builder implementation.voidsetDataDictionary(DataDictionary<?> dataDictionary) Sets the data dictionary.voidsetEndpoint(Endpoint endpoint) Set message endpoint instance.voidsetEndpointUri(String endpointUri) Sets the endpoint uri.voidsetMessageBuilder(DefaultMessageBuilder messageBuilder) Sets the message builder implementation.voidsetMessageProcessors(List<MessageProcessor> messageProcessors) Set the list of message processors.voidsetMessageSelector(String messageSelector) Set message selector string.voidsetMessageSelectorMap(Map<String, String> messageSelectorMap) Setter for messageSelectorMap.voidsetMessageType(String messageType) Sets the expected message type for this receive action.voidsetReceiveTimeout(long receiveTimeout) Set the receive timeout.voidsetValidationContexts(List<org.citrusframework.validation.context.ValidationContext> validationContexts) Sets the list of available validation contexts for this action.voidsetValidationProcessor(ValidationProcessor processor) Sets the processor.voidsetValidators(List<MessageValidator<? extends org.citrusframework.validation.context.ValidationContext>> validators) Set list of message validators.voidsetVariableExtractors(List<VariableExtractor> variableExtractors) Set the list of variable extractors.Methods inherited from class org.citrusframework.config.xml.AbstractTestActionFactoryBean
setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
getObject, getObjectType, isSingleton
-
Constructor Details
-
AbstractReceiveMessageActionFactoryBean
public AbstractReceiveMessageActionFactoryBean()
-
-
Method Details
-
setMessageSelectorMap
Setter for messageSelectorMap.- Parameters:
messageSelectorMap-
-
setMessageSelector
Set message selector string.- Parameters:
messageSelector-
-
setEndpoint
Set message endpoint instance.- Parameters:
endpoint- the message endpoint
-
setEndpointUri
Sets the endpoint uri.- Parameters:
endpointUri-
-
setValidators
public void setValidators(List<MessageValidator<? extends org.citrusframework.validation.context.ValidationContext>> validators) Set list of message validators.- Parameters:
validators- the message validators to set
-
setReceiveTimeout
public void setReceiveTimeout(long receiveTimeout) Set the receive timeout.- Parameters:
receiveTimeout- the receiveTimeout to set
-
setVariableExtractors
Set the list of variable extractors.- Parameters:
variableExtractors- the variableExtractors to set
-
setMessageProcessors
Set the list of message processors.- Parameters:
messageProcessors- the messageProcessors to set
-
setValidationContexts
public void setValidationContexts(List<org.citrusframework.validation.context.ValidationContext> validationContexts) Sets the list of available validation contexts for this action.- Parameters:
validationContexts- the validationContexts to set
-
setMessageType
Sets the expected message type for this receive action.- Parameters:
messageType- the messageType to set
-
setValidationProcessor
Sets the processor.- Parameters:
processor- the processor to set
-
setDataDictionary
Sets the data dictionary.- Parameters:
dataDictionary-
-
setMessageBuilder
Sets the message builder implementation.- Parameters:
messageBuilder- the messageBuilder to set
-
getBuilder
Provides the test action builder implementation.- Specified by:
getBuilderin classAbstractTestActionFactoryBean<T extends ReceiveMessageAction,B extends ReceiveMessageAction.ReceiveMessageActionBuilder<T, M, B>> - Returns:
- the test action builder for this particular factory bean.
-