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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Plc4XEndpointBuilderFactory.AdvancedPlc4XEndpointConsumerBuilder
advanced()
default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
autoReconnect(boolean autoReconnect)
Whether to reconnect when no connection is present upon doing a request.default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
autoReconnect(String autoReconnect)
Whether to reconnect when no connection is present upon doing a request.default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
period(int period)
Interval on which the Trigger should be checked.default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
period(String period)
Interval on which the Trigger should be checked.default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
tags(String key, Object value)
Tags as key/values from the Map to use in query.default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
tags(Map values)
Tags as key/values from the Map to use in query.default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder
trigger(String trigger)
Query to a trigger.
-
-
-
Method Detail
-
advanced
default Plc4XEndpointBuilderFactory.AdvancedPlc4XEndpointConsumerBuilder advanced()
-
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
-
period
default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder period(int period)
Interval on which the Trigger should be checked. The option is a: <code>int</code> type. Group: consumer- Parameters:
period
- the value to set- Returns:
- the dsl builder
-
period
default Plc4XEndpointBuilderFactory.Plc4XEndpointConsumerBuilder period(String period)
Interval on which the Trigger should be checked. The option will be converted to a <code>int</code> type. Group: consumer- Parameters:
period
- 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<java.lang.String, java.lang.String></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 keyvalue
- 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<java.lang.String, java.lang.String></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
-
-