@UriEndpoint(firstVersion="3.1.0",
scheme="aws2-sns",
title="AWS Simple Notification System (SNS)",
syntax="aws2-sns:topicNameOrArn",
producerOnly=true,
category={CLOUD,MESSAGING,MOBILE})
public class Sns2Endpoint
extends org.apache.camel.support.DefaultEndpoint
implements org.apache.camel.spi.HeaderFilterStrategyAware
| Constructor and Description |
|---|
Sns2Endpoint(String uri,
org.apache.camel.Component component,
Sns2Configuration 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() |
Sns2Configuration |
getConfiguration() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
software.amazon.awssdk.services.sns.SnsClient |
getSNSClient() |
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy)
To use a custom HeaderFilterStrategy to map headers to/from Camel.
|
void |
setSNSClient(software.amazon.awssdk.services.sns.SnsClient snsClient) |
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doStart, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, 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 Sns2Endpoint(String uri, org.apache.camel.Component component, Sns2Configuration 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 Sns2Configuration getConfiguration()
public void setSNSClient(software.amazon.awssdk.services.sns.SnsClient snsClient)
public software.amazon.awssdk.services.sns.SnsClient getSNSClient()
Apache Camel