Interface Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder

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

    public static interface Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the PLC4X component.
    • Method Detail

      • autoReconnect

        default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder autoReconnect​(boolean autoReconnect)
        Whether to reconnect when no connection is present upon doing a request. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        autoReconnect - the value to set
        Returns:
        the dsl builder
      • autoReconnect

        default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder autoReconnect​(String autoReconnect)
        Whether to reconnect when no connection is present upon doing a request. The option will be converted to a <code>boolean</code> type. Default: false Group: common
        Parameters:
        autoReconnect - the value to set
        Returns:
        the dsl builder
      • tags

        default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder tags​(String key,
                                                                              Object value)
        Tags as key/values from the Map to use in query. The option is a: <code>java.util.Map&lt;java.lang.String, java.lang.String&gt;</code> type. The option is multivalued, and you can use the tags(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
      • tags

        default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder tags​(Map values)
        Tags as key/values from the Map to use in query. The option is a: <code>java.util.Map&lt;java.lang.String, java.lang.String&gt;</code> type. The option is multivalued, and you can use the tags(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
      • trigger

        default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder trigger​(String trigger)
        Query to a trigger. On a rising edge of the trigger, the tags will be read once. The option is a: <code>java.lang.String</code> type. Group: consumer
        Parameters:
        trigger - the value to set
        Returns:
        the dsl builder