@UriEndpoint(scheme="apns", title="APNS", syntax="apns:name", consumerClass=ApnsConsumer.class, label="eventbus,mobile") public class ApnsEndpoint extends org.apache.camel.impl.ScheduledPollEndpoint
Constructor and Description |
---|
ApnsEndpoint(String uri,
ApnsComponent component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
com.notnoop.apns.ApnsService |
getApnsService() |
protected Set<org.apache.camel.impl.DefaultConsumer> |
getConsumers() |
String |
getName() |
String |
getTokens() |
boolean |
isSingleton() |
void |
setName(String name) |
void |
setTokens(String tokens)
Configure this property in case you want to statically declare tokens related to devices you want to notify.
|
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public ApnsEndpoint(String uri, ApnsComponent component)
public String getName()
public void setName(String name)
public String getTokens()
public void setTokens(String tokens)
public com.notnoop.apns.ApnsService getApnsService()
public boolean isSingleton()
protected Set<org.apache.camel.impl.DefaultConsumer> getConsumers()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
Apache Camel