@UriEndpoint(firstVersion="2.19.0",
scheme="pubnub",
title="PubNub",
syntax="pubnub:channel",
category={CLOUD,IOT,MESSAGING})
public class PubNubEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
PubNubEndpoint(String uri,
PubNubComponent component,
PubNubConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
PubNubConfiguration |
getConfiguration() |
com.pubnub.api.PubNub |
getPubnub()
Reference to a Pubnub client in the registry.
|
void |
setPubnub(com.pubnub.api.PubNub pubnub) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic PubNubEndpoint(String uri, PubNubComponent component, PubNubConfiguration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic PubNubConfiguration getConfiguration()
public com.pubnub.api.PubNub getPubnub()
public void setPubnub(com.pubnub.api.PubNub pubnub)
protected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultEndpointExceptionApache Camel