Interface SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- SimpleNotificationEndpointBuilderFactory
public static interface SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Huawei Simple Message Notification (SMN) component.
-
-
Method Summary
-
-
-
Method Detail
-
accessKey
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder accessKey(String accessKey)
Access key for the cloud user. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
accessKey
- the value to set- Returns:
- the dsl builder
-
endpoint
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder endpoint(String endpoint)
Fully qualified smn service url. Carries higher precedence than region parameter based client initialization. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
endpoint
- the value to set- Returns:
- the dsl builder
-
ignoreSslVerification
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder ignoreSslVerification(boolean ignoreSslVerification)
Ignore SSL verification. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
ignoreSslVerification
- the value to set- Returns:
- the dsl builder
-
ignoreSslVerification
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder ignoreSslVerification(String ignoreSslVerification)
Ignore SSL verification. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
ignoreSslVerification
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder 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 SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder 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
-
messageTtl
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder messageTtl(int messageTtl)
TTL for published message. The option is a: <code>int</code> type. Default: 3600 Group: producer- Parameters:
messageTtl
- the value to set- Returns:
- the dsl builder
-
messageTtl
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder messageTtl(String messageTtl)
TTL for published message. The option will be converted to a <code>int</code> type. Default: 3600 Group: producer- Parameters:
messageTtl
- the value to set- Returns:
- the dsl builder
-
operation
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder operation(String operation)
Name of operation to perform. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
projectId
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder projectId(String projectId)
Cloud project ID. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
projectId
- the value to set- Returns:
- the dsl builder
-
proxyHost
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder proxyHost(String proxyHost)
Proxy server ip/hostname. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
proxyHost
- the value to set- Returns:
- the dsl builder
-
proxyPassword
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder proxyPassword(String proxyPassword)
Proxy authentication password. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
proxyPassword
- the value to set- Returns:
- the dsl builder
-
proxyPort
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder proxyPort(int proxyPort)
Proxy server port. The option is a: <code>int</code> type. Group: producer- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyPort
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder proxyPort(String proxyPort)
Proxy server port. The option will be converted to a <code>int</code> type. Group: producer- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyUser
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder proxyUser(String proxyUser)
Proxy authentication user. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
proxyUser
- the value to set- Returns:
- the dsl builder
-
region
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder region(String region)
SMN service region. This is lower precedence than endpoint based configuration. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
region
- the value to set- Returns:
- the dsl builder
-
secretKey
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder secretKey(String secretKey)
Secret key for the cloud user. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
secretKey
- the value to set- Returns:
- the dsl builder
-
serviceKeys
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder serviceKeys(Object serviceKeys)
Configuration object for cloud service authentication. The option is a: <code>org.apache.camel.component.huaweicloud.common.models.ServiceKeys</code> type. Group: producer- Parameters:
serviceKeys
- the value to set- Returns:
- the dsl builder
-
serviceKeys
default SimpleNotificationEndpointBuilderFactory.SimpleNotificationEndpointBuilder serviceKeys(String serviceKeys)
Configuration object for cloud service authentication. The option will be converted to a <code>org.apache.camel.component.huaweicloud.common.models.ServiceKeys</code> type. Group: producer- Parameters:
serviceKeys
- the value to set- Returns:
- the dsl builder
-
-