Interface WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    WordpressEndpointBuilderFactory.WordpressEndpointBuilder
    Enclosing interface:
    WordpressEndpointBuilderFactory

    public static interface WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Wordpress component.
    • Method Detail

      • criteria

        default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder criteria​(String key,
                                                                                          Object value)
        The criteria to use with complex searches. The option is a: <code>java.util.Map&lt;java.lang.String, java.lang.Object&gt;</code> type. The option is multivalued, and you can use the criteria(String, Object) method to add a value (call the method multiple times to set more values). Group: common
        Parameters:
        key - the option key
        value - the option value
        Returns:
        the dsl builder
      • criteria

        default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder criteria​(Map values)
        The criteria to use with complex searches. The option is a: <code>java.util.Map&lt;java.lang.String, java.lang.Object&gt;</code> type. The option is multivalued, and you can use the criteria(String, Object) method to add a value (call the method multiple times to set more values). Group: common
        Parameters:
        values - the values
        Returns:
        the dsl builder
      • id

        default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder id​(String id)
        The entity ID. Should be passed when the operation performed requires a specific entity, e.g. deleting a post. The option will be converted to a <code>java.lang.Integer</code> type. Group: common
        Parameters:
        id - the value to set
        Returns:
        the dsl builder
      • searchCriteria

        default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder searchCriteria​(String searchCriteria)
        Search criteria. The option will be converted to a <code>org.apache.camel.component.wordpress.api.model.SearchCriteria</code> type. Group: common
        Parameters:
        searchCriteria - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default WordpressEndpointBuilderFactory.WordpressEndpointConsumerBuilder bridgeErrorHandler​(String bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder