Package org.citrusframework.config.xml
Class AbstractSendMessageActionFactoryBean<T extends SendMessageAction,M extends SendMessageBuilderSupport<T,B,M>,B extends SendMessageAction.SendMessageActionBuilder<T,M,B>>
java.lang.Object
org.citrusframework.config.xml.AbstractTestActionFactoryBean<T,B>
org.citrusframework.config.xml.AbstractSendMessageActionFactoryBean<T,M,B>
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<T>
- Direct Known Subclasses:
SendMessageActionParser.SendMessageActionFactoryBean
public abstract class AbstractSendMessageActionFactoryBean<T extends SendMessageAction,M extends SendMessageBuilderSupport<T,B,M>,B extends SendMessageAction.SendMessageActionBuilder<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) Sets the message endpoint.voidsetEndpointUri(String endpointUri) Sets the endpoint uri.voidsetForkMode(boolean fork) Enables fork mode for this message sender.voidsetMessageBuilder(MessageBuilder messageBuilder) Sets the message builder implementation.voidsetMessageProcessors(List<MessageProcessor> messageProcessors) Set the list of message processors.voidsetMessageType(String messageType) Sets the expected message type for this receive action.voidSets explicit schema instance name to use for schema validation.voidsetSchemaRepository(String schemaRepository) Sets explicit schema repository instance to use for validation.voidsetSchemaValidation(boolean enabled) Sets schema validation enabled/disabled for this message.voidsetVariableExtractors(List<VariableExtractor> variableExtractors) The variable extractors for this message sending action.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
-
AbstractSendMessageActionFactoryBean
public AbstractSendMessageActionFactoryBean()
-
-
Method Details
-
setEndpoint
Sets the message endpoint.- Parameters:
endpoint-
-
setMessageBuilder
Sets the message builder implementation.- Parameters:
messageBuilder- the messageBuilder to set
-
setSchemaValidation
public void setSchemaValidation(boolean enabled) Sets schema validation enabled/disabled for this message.- Parameters:
enabled-
-
setSchema
Sets explicit schema instance name to use for schema validation.- Parameters:
schemaName-
-
setSchemaRepository
Sets explicit schema repository instance to use for validation.- Parameters:
schemaRepository-
-
setVariableExtractors
The variable extractors for this message sending action.- Parameters:
variableExtractors- the variableExtractors to set
-
setMessageProcessors
Set the list of message processors.- Parameters:
messageProcessors- the messageProcessors to set
-
setForkMode
public void setForkMode(boolean fork) Enables fork mode for this message sender.- Parameters:
fork- the fork to set.
-
setMessageType
Sets the expected message type for this receive action.- Parameters:
messageType- the messageType to set
-
setDataDictionary
Sets the data dictionary.- Parameters:
dataDictionary-
-
setEndpointUri
Sets the endpoint uri.- Parameters:
endpointUri-
-
getBuilder
Provides the test action builder implementation.- Specified by:
getBuilderin classAbstractTestActionFactoryBean<T extends SendMessageAction,B extends SendMessageAction.SendMessageActionBuilder<T, M, B>> - Returns:
- the test action builder for this particular factory bean.
-