Package org.citrusframework.message
Interface ScriptPayloadBuilder
- All Superinterfaces:
MessagePayloadBuilder
- Author:
- Christoph Deppisch
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.message.MessagePayloadBuilder
MessagePayloadBuilder.Builder<T extends MessagePayloadBuilder,B extends MessagePayloadBuilder.Builder<T, B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.LoggerLoggerstatic final StringMessage processor resource lookup pathstatic final TypeResolverType resolver to find custom message processors on classpath via resource path lookup -
Method Summary
Methods inherited from interface org.citrusframework.message.MessagePayloadBuilder
buildPayload
-
Field Details
-
logger
static final org.slf4j.Logger loggerLogger -
RESOURCE_PATH
Message processor resource lookup path- See Also:
-
TYPE_RESOLVER
Type resolver to find custom message processors on classpath via resource path lookup
-
-
Method Details
-
lookup
Resolves processor from resource path lookup with given processor resource name. Scans classpath for processor meta information with given name and returns instance of processor. Returns optional instead of throwing exception when no processor could be found.- Parameters:
type-- Returns:
-
setScript
-
setFile
-
setFile
-