Interface NagiosEndpointBuilderFactory.NagiosEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- NagiosEndpointBuilderFactory
public static interface NagiosEndpointBuilderFactory.NagiosEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Nagios component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
connectionTimeout(int connectionTimeout)
Connection timeout in millis.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
connectionTimeout(String connectionTimeout)
Connection timeout in millis.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
encryption(String encryption)
To specify an encryption method.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
encryption(NagiosEndpointBuilderFactory.Encryption encryption)
To specify an encryption method.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
password(String password)
Password to be authenticated when sending checks to Nagios.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
sendSync(boolean sendSync)
Whether or not to use synchronous when sending a passive check.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
sendSync(String sendSync)
Whether or not to use synchronous when sending a passive check.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
timeout(int timeout)
Sending timeout in millis.default NagiosEndpointBuilderFactory.NagiosEndpointBuilder
timeout(String timeout)
Sending timeout in millis.
-
-
-
Method Detail
-
connectionTimeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder connectionTimeout(int connectionTimeout)
Connection timeout in millis. The option is a: <code>int</code> type. Default: 5000 Group: producer- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder connectionTimeout(String connectionTimeout)
Connection timeout in millis. The option will be converted to a <code>int</code> type. Default: 5000 Group: producer- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
sendSync
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder sendSync(boolean sendSync)
Whether or not to use synchronous when sending a passive check. Setting it to false will allow Camel to continue routing the message and the passive check message will be send asynchronously. The option is a: <code>boolean</code> type. Default: true Group: producer- Parameters:
sendSync
- the value to set- Returns:
- the dsl builder
-
sendSync
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder sendSync(String sendSync)
Whether or not to use synchronous when sending a passive check. Setting it to false will allow Camel to continue routing the message and the passive check message will be send asynchronously. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
sendSync
- the value to set- Returns:
- the dsl builder
-
timeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder timeout(int timeout)
Sending timeout in millis. The option is a: <code>int</code> type. Default: 5000 Group: producer- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
timeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder timeout(String timeout)
Sending timeout in millis. The option will be converted to a <code>int</code> type. Default: 5000 Group: producer- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
encryption
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder encryption(NagiosEndpointBuilderFactory.Encryption encryption)
To specify an encryption method. The option is a: <code>com.googlecode.jsendnsca.encryption.Encryption</code> type. Group: security- Parameters:
encryption
- the value to set- Returns:
- the dsl builder
-
encryption
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder encryption(String encryption)
To specify an encryption method. The option will be converted to a <code>com.googlecode.jsendnsca.encryption.Encryption</code> type. Group: security- Parameters:
encryption
- the value to set- Returns:
- the dsl builder
-
password
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder password(String password)
Password to be authenticated when sending checks to Nagios. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
-