Interface OnceEndpointBuilderFactory.OnceEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
OnceEndpointBuilderFactory
public static interface OnceEndpointBuilderFactory.OnceEndpointBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint for the Once component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()The data to use as message body.The data to use as message headers as key=value pairs.The data to use as message headers as key=value pairs.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
body
The data to use as message body. You can externalize the data by using file: or classpath: as prefix and specify the location of the file. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
body- the value to set- Returns:
- the dsl builder
-
headers
The data to use as message headers as key=value pairs. You can externalize the data by using file: or classpath: as prefix and specify the location of the file. This is a multi-value option with prefix: header. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a:java.util.Map<java.lang.String, java.lang.String>type. The option is multivalued, and you can use the headers(String, Object) method to add a value (call the method multiple times to set more values). Group: consumer- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
headers
The data to use as message headers as key=value pairs. You can externalize the data by using file: or classpath: as prefix and specify the location of the file. This is a multi-value option with prefix: header. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a:java.util.Map<java.lang.String, java.lang.String>type. The option is multivalued, and you can use the headers(String, Object) method to add a value (call the method multiple times to set more values). Group: consumer- Parameters:
values- the values- Returns:
- the dsl builder
-