@UriEndpoint(firstVersion="2.8.0",
scheme="aws-sns",
title="AWS Simple Notification System (SNS)",
syntax="aws-sns:topicNameOrArn",
producerOnly=true,
category={CLOUD,MESSAGING,MOBILE})
public class SnsEndpoint
extends org.apache.camel.support.DefaultEndpoint
implements org.apache.camel.spi.HeaderFilterStrategyAware
| Constructor and Description |
|---|
SnsEndpoint(String uri,
org.apache.camel.Component component,
SnsConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
void |
doInit() |
void |
doStop() |
SnsConfiguration |
getConfiguration() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
com.amazonaws.services.sns.AmazonSNS |
getSNSClient() |
void |
setConfiguration(SnsConfiguration configuration) |
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy)
To use a custom HeaderFilterStrategy to map headers to/from Camel.
|
void |
setSNSClient(com.amazonaws.services.sns.AmazonSNS snsClient) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doStart, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, 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 SnsEndpoint(String uri, org.apache.camel.Component component, SnsConfiguration configuration)
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy)
setHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic void doInit()
throws Exception
doInit in class org.apache.camel.support.DefaultEndpointExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultEndpointExceptionpublic SnsConfiguration getConfiguration()
public void setConfiguration(SnsConfiguration configuration)
public void setSNSClient(com.amazonaws.services.sns.AmazonSNS snsClient)
public com.amazonaws.services.sns.AmazonSNS getSNSClient()
Apache Camel