Class SendMessageBuilderSupport<T extends SendMessageAction,B extends SendMessageAction.SendMessageActionBuilder<T,S,B>,S extends SendMessageBuilderSupport<T,B,S>>
java.lang.Object
org.citrusframework.message.builder.MessageBuilderSupport<T,B,S>
org.citrusframework.message.builder.SendMessageBuilderSupport<T,B,S>
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<T>
- Direct Known Subclasses:
SendMessageAction.SendMessageActionBuilderSupport
public class SendMessageBuilderSupport<T extends SendMessageAction,B extends SendMessageAction.SendMessageActionBuilder<T,S,B>,S extends SendMessageBuilderSupport<T,B,S>>
extends MessageBuilderSupport<T,B,S>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.citrusframework.message.builder.MessageBuilderSupport
MessageBuilderSupport.MessageActionBuilder<T extends TestAction,M extends MessageBuilderSupport<T, B, M>, B extends MessageBuilderSupport.MessageActionBuilder<T, M, B>> Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
FieldsFields inherited from class org.citrusframework.message.builder.MessageBuilderSupport
dataDictionary, dataDictionaryName, delegate, messageBuilder, messageType, selfFields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfork(boolean forkMode) Sets the fork mode for this send action builder.Get the schemaGet the schema repositorybooleanGet the is schema validation flagSets explicit schema instance name to use for schema validation.schemaRepository(String schemaRepository) Sets explicit schema repository instance to use for validation.schemaValidation(boolean enabled) Sets schema validation enabled/disabled for this message.transform(MessageProcessor processor) Adds message processor on the message to be sent.transform(MessageProcessor.Builder<?, ?> builder) Adds message processor on the message to be sent as fluent builder.Methods inherited from class org.citrusframework.message.builder.MessageBuilderSupport
body, body, body, body, body, build, dictionary, dictionary, extract, extract, extract, from, from, getDataDictionary, getDataDictionaryName, getMessageBuilder, getMessageType, header, header, header, header, header, headers, name, process, process, process, setReferenceResolver, type, type, withReferenceResolver
-
Field Details
-
schemaValidation
protected boolean schemaValidation -
schema
-
schemaRepository
-
-
Constructor Details
-
SendMessageBuilderSupport
-
-
Method Details
-
fork
Sets the fork mode for this send action builder.- Parameters:
forkMode-- Returns:
- The modified send message action builder
-
schemaValidation
Sets schema validation enabled/disabled for this message.- Parameters:
enabled-- Returns:
-
isSchemaValidation
public boolean isSchemaValidation()Get the is schema validation flag- Returns:
- the schema validation flag
-
schema
Sets explicit schema instance name to use for schema validation.- Parameters:
schemaName-- Returns:
-
getSchema
Get the schema- Returns:
- the schema
-
schemaRepository
Sets explicit schema repository instance to use for validation.- Parameters:
schemaRepository-- Returns:
-
getSchemaRepository
Get the schema repository- Returns:
- the schema-repository
-
transform
Adds message processor on the message to be sent.- Parameters:
processor-- Returns:
- The modified send message action builder
-
transform
Adds message processor on the message to be sent as fluent builder.- Parameters:
builder-- Returns:
- The modified send message action builder
-