@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) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
ExecutorService |
createExecutor() |
org.apache.camel.Producer |
createProducer() |
GooglePubsubConstants.AckMode |
getAckMode() |
GooglePubsubComponent |
getComponent() |
Integer |
getConcurrentConsumers() |
String |
getDestinationName() |
String |
getLoggerId() |
Integer |
getMaxMessagesPerPoll() |
String |
getProjectId() |
boolean |
isSingleton() |
boolean |
isSynchronousPull() |
void |
setAckMode(GooglePubsubConstants.AckMode ackMode) |
void |
setConcurrentConsumers(Integer concurrentConsumers) |
void |
setDestinationName(String destinationName) |
void |
setLoggerId(String loggerId) |
void |
setMaxMessagesPerPoll(Integer maxMessagesPerPoll) |
void |
setProjectId(String projectId) |
void |
setSynchronousPull(Boolean synchronousPull) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBasicPropertyBinding, 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 GooglePubsubComponent getComponent()
getComponent in class org.apache.camel.support.DefaultEndpointpublic 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 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)
Apache Camel