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 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.String type. 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 key
      value - 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