@UriEndpoint(firstVersion="2.19.0",
scheme="google-pubsub",
title="Google Pubsub",
syntax="google-pubsub:projectId:destinationName",
category={CLOUD,MESSAGING})
public class GooglePubsubEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
GooglePubsubEndpoint(String uri,
org.apache.camel.Component component,
String remaining) |
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, 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 GooglePubsubComponent getComponent()
getComponent in class org.apache.camel.support.DefaultEndpointpublic void afterPropertiesSet()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic ExecutorService createExecutor()
public boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonisSingleton in class org.apache.camel.support.DefaultEndpointpublic String getProjectId()
public void setProjectId(String projectId)
public String getLoggerId()
public void setLoggerId(String loggerId)
public String getServiceAccountKey()
public void setServiceAccountKey(String serviceAccountKey)
public String getDestinationName()
public void setDestinationName(String destinationName)
public Integer getConcurrentConsumers()
public void setConcurrentConsumers(Integer concurrentConsumers)
public Integer getMaxMessagesPerPoll()
public void setMaxMessagesPerPoll(Integer maxMessagesPerPoll)
public boolean isSynchronousPull()
public void setSynchronousPull(Boolean synchronousPull)
public GooglePubsubConstants.AckMode getAckMode()
public void setAckMode(GooglePubsubConstants.AckMode ackMode)
public GooglePubsubSerializer getSerializer()
public void setSerializer(GooglePubsubSerializer serializer)
public boolean isMessageOrderingEnabled()
public void setMessageOrderingEnabled(boolean messageOrderingEnabled)
public String getPubsubEndpoint()
public void setPubsubEndpoint(String pubsubEndpoint)
Apache Camel