Class ConsulEndpointBuilderFactory.ConsulHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.ConsulEndpointBuilderFactory.ConsulHeaderNameBuilder
-
- Enclosing interface:
- ConsulEndpointBuilderFactory
public static class ConsulEndpointBuilderFactory.ConsulHeaderNameBuilder extends Object
The builder of headers' name for the Consul component.
-
-
Constructor Summary
Constructors Constructor Description ConsulHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconsulAction()The Producer action.StringconsulConsistencyMode()The consistencyMode used for queries.StringconsulCreateIndex()The internal index value that represents when the entry was created.StringconsulDatacenter()The data center.StringconsulEventId()The event id.StringconsulEventLTime()The event LTime.StringconsulEventName()The event name.StringconsulFlags()Flags associated with a value.StringconsulHealthyOnly()Only on healthy services.StringconsulHealthyState()The state to query.StringconsulIndex()The optional value index.StringconsulKey()The Key on which the action should applied.StringconsulKnownLeader()Indicates whether it is the known leader.StringconsulLastContact()The last contact.StringconsulLockIndex()The number of times this key has successfully been acquired in a lock.StringconsulModifyIndex()The last index that modified this key.StringconsulNearNode()The near node to use for queries.StringconsulNode()The node.StringconsulNodeFilter()The Node filter.StringconsulNodeMeta()The note meta-data to use for queries.StringconsulOptions()Options associated to the request.StringconsulPreparedQueryID()The id of the prepared query.StringconsulResult()true if the response has a result.StringconsulService()The service.StringconsulServiceId()The service id for agent deregistration.StringconsulSession()The session id.StringconsulSessionFilter()The session filter.StringconsulTagFilter()The tag filter.StringconsulValueAsString()To transform values retrieved from Consul i.e.StringconsulVersion()The data version.StringconsulWait()The optional value wait.
-
-
-
Method Detail
-
consulAction
public String consulAction()
The Producer action. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulAction.
-
consulKey
public String consulKey()
The Key on which the action should applied. The option is a:Stringtype. Group: common- Returns:
- the name of the header
ConsulKey.
-
consulEventId
public String consulEventId()
The event id. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
ConsulEventId.
-
consulEventName
public String consulEventName()
The event name. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
ConsulEventName.
-
consulEventLTime
public String consulEventLTime()
The event LTime. The option is a:Longtype. Group: consumer- Returns:
- the name of the header
ConsulEventLTime.
-
consulNodeFilter
public String consulNodeFilter()
The Node filter. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
ConsulNodeFilter.
-
consulTagFilter
public String consulTagFilter()
The tag filter. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
ConsulTagFilter.
-
consulSessionFilter
public String consulSessionFilter()
The session filter. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
ConsulSessionFilter.
-
consulVersion
public String consulVersion()
The data version. The option is a:Integertype. Group: consumer- Returns:
- the name of the header
ConsulVersion.
-
consulFlags
public String consulFlags()
Flags associated with a value. The option is a:Longtype. Group: common- Returns:
- the name of the header
ConsulFlags.
-
consulIndex
public String consulIndex()
The optional value index. The option is a:BigIntegertype. Group: producer- Returns:
- the name of the header
ConsulIndex.
-
consulWait
public String consulWait()
The optional value wait. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulWait.
-
consulCreateIndex
public String consulCreateIndex()
The internal index value that represents when the entry was created. The option is a:Longtype. Group: consumer- Returns:
- the name of the header
ConsulCreateIndex.
-
consulLockIndex
public String consulLockIndex()
The number of times this key has successfully been acquired in a lock. The option is a:Longtype. Group: consumer- Returns:
- the name of the header
ConsulLockIndex.
-
consulModifyIndex
public String consulModifyIndex()
The last index that modified this key. The option is a:Longtype. Group: consumer- Returns:
- the name of the header
ConsulModifyIndex.
-
consulOptions
public String consulOptions()
Options associated to the request. The option is a: type. Group: common- Returns:
- the name of the header
ConsulOptions.
-
consulResult
public String consulResult()
true if the response has a result. The option is a:Booleantype. Group: common- Returns:
- the name of the header
ConsulResult.
-
consulSession
public String consulSession()
The session id. The option is a:Stringtype. Group: common- Returns:
- the name of the header
ConsulSession.
-
consulValueAsString
public String consulValueAsString()
To transform values retrieved from Consul i.e. on KV endpoint to string. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
ConsulValueAsString.
-
consulNode
public String consulNode()
The node. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulNode.
-
consulService
public String consulService()
The service. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulService.
-
consulDatacenter
public String consulDatacenter()
The data center. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulDatacenter.
-
consulNearNode
public String consulNearNode()
The near node to use for queries. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulNearNode.
-
consulNodeMeta
public String consulNodeMeta()
The note meta-data to use for queries. The option is a:List<String>type. Group: producer- Returns:
- the name of the header
ConsulNodeMeta.
-
consulLastContact
public String consulLastContact()
The last contact. The option is a:Longtype. Group: producer- Returns:
- the name of the header
ConsulLastContact.
-
consulKnownLeader
public String consulKnownLeader()
Indicates whether it is the known leader. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
ConsulKnownLeader.
-
consulConsistencyMode
public String consulConsistencyMode()
The consistencyMode used for queries. The option is a:com.orbitz.consul.option.ConsistencyModetype. Default: DEFAULT Group: producer- Returns:
- the name of the header
ConsulConsistencyMode.
-
consulHealthyOnly
public String consulHealthyOnly()
Only on healthy services. The option is a:Booleantype. Default: false Group: producer- Returns:
- the name of the header
ConsulHealthyOnly.
-
consulHealthyState
public String consulHealthyState()
The state to query. The option is a:com.orbitz.consul.model.Statetype. Group: producer- Returns:
- the name of the header
ConsulHealthyState.
-
consulPreparedQueryID
public String consulPreparedQueryID()
The id of the prepared query. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulPreparedQueryID.
-
consulServiceId
public String consulServiceId()
The service id for agent deregistration. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
ConsulServiceId.
-
-