Interface PubNubEndpointBuilderFactory.PubNubEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,PubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
,PubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Enclosing interface:
- PubNubEndpointBuilderFactory
public static interface PubNubEndpointBuilderFactory.PubNubEndpointBuilder extends PubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder, PubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
Builder for endpoint for the PubNub component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default PubNubEndpointBuilderFactory.AdvancedPubNubEndpointBuilder
advanced()
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
authKey(String authKey)
If Access Manager is utilized, client will use this authKey in all restricted requests.default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
cipherKey(String cipherKey)
If cipher is passed, all communications to/from PubNub will be encrypted.default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
publishKey(String publishKey)
The publish key obtained from your PubNub account.default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
secretKey(String secretKey)
The secret key used for message signing.default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
secure(boolean secure)
Use SSL for secure transmission.default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
secure(String secure)
Use SSL for secure transmission.default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
subscribeKey(String subscribeKey)
The subscribe key obtained from your PubNub account.default PubNubEndpointBuilderFactory.PubNubEndpointBuilder
uuid(String uuid)
UUID to be used as a device identifier, a default UUID is generated if not passed.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.PubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, withPresence, withPresence
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.PubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
lazyStartProducer, lazyStartProducer, operation
-
-
-
-
Method Detail
-
advanced
default PubNubEndpointBuilderFactory.AdvancedPubNubEndpointBuilder advanced()
- Specified by:
advanced
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
advanced
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
-
uuid
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder uuid(String uuid)
UUID to be used as a device identifier, a default UUID is generated if not passed. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
uuid
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
uuid
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
uuid
- the value to set- Returns:
- the dsl builder
-
authKey
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder authKey(String authKey)
If Access Manager is utilized, client will use this authKey in all restricted requests. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
authKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
authKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
authKey
- the value to set- Returns:
- the dsl builder
-
cipherKey
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder cipherKey(String cipherKey)
If cipher is passed, all communications to/from PubNub will be encrypted. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
cipherKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
cipherKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
cipherKey
- the value to set- Returns:
- the dsl builder
-
publishKey
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder publishKey(String publishKey)
The publish key obtained from your PubNub account. Required when publishing messages. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
publishKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
publishKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
publishKey
- the value to set- Returns:
- the dsl builder
-
secretKey
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder secretKey(String secretKey)
The secret key used for message signing. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
secretKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
secretKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
secretKey
- the value to set- Returns:
- the dsl builder
-
secure
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder secure(boolean secure)
Use SSL for secure transmission. The option is a: <code>boolean</code> type. Default: true Group: security- Specified by:
secure
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
secure
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
secure
- the value to set- Returns:
- the dsl builder
-
secure
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder secure(String secure)
Use SSL for secure transmission. The option will be converted to a <code>boolean</code> type. Default: true Group: security- Specified by:
secure
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
secure
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
secure
- the value to set- Returns:
- the dsl builder
-
subscribeKey
default PubNubEndpointBuilderFactory.PubNubEndpointBuilder subscribeKey(String subscribeKey)
The subscribe key obtained from your PubNub account. Required when subscribing to channels or listening for presence events. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
subscribeKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointConsumerBuilder
- Specified by:
subscribeKey
in interfacePubNubEndpointBuilderFactory.PubNubEndpointProducerBuilder
- Parameters:
subscribeKey
- the value to set- Returns:
- the dsl builder
-
-