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.AdvancedNagiosEndpointBuilder
advanced()
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
-
advanced
default NagiosEndpointBuilderFactory.AdvancedNagiosEndpointBuilder advanced()
-
connectionTimeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder connectionTimeout(int connectionTimeout)
Connection timeout in millis. The option is a:int
type. Default: 5000 Group: producer
-
connectionTimeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder connectionTimeout(String connectionTimeout)
Connection timeout in millis. The option will be converted to aint
type. Default: 5000 Group: producer
-
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:boolean
type. Default: false Group: producer
-
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 aboolean
type. Default: false Group: producer
-
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:boolean
type. Default: true Group: producer
-
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 aboolean
type. Default: true Group: producer
-
timeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder timeout(int timeout)
Sending timeout in millis. The option is a:int
type. Default: 5000 Group: producer
-
timeout
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder timeout(String timeout)
Sending timeout in millis. The option will be converted to aint
type. Default: 5000 Group: producer
-
encryption
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder encryption(NagiosEndpointBuilderFactory.Encryption encryption)
To specify an encryption method. The option is a:com.googlecode.jsendnsca.encryption.Encryption
type. Group: security
-
encryption
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder encryption(String encryption)
To specify an encryption method. The option will be converted to acom.googlecode.jsendnsca.encryption.Encryption
type. Group: security
-
password
default NagiosEndpointBuilderFactory.NagiosEndpointBuilder password(String password)
Password to be authenticated when sending checks to Nagios. The option is a:java.lang.String
type. Group: security
-
-