org.apache.camel.component.aws.sqs
Class SqsProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.aws.sqs.SqsProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class SqsProducer
- extends DefaultProducer
A Producer which sends messages to the Amazon Web Service Simple Queue Service
AWS SQS
- Version:
- $Revision: $
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
SqsProducer
public SqsProducer(SqsEndpoint endpoint)
throws NoFactoryAvailableException
- Throws:
NoFactoryAvailableException
process
public void process(Exchange exchange)
throws Exception
- Throws:
Exception
getClient
protected com.amazonaws.services.sqs.AmazonSQSClient getClient()
getQueueUrl
protected String getQueueUrl()
getEndpoint
public SqsEndpoint getEndpoint()
- Specified by:
getEndpoint
in interface Producer
- Overrides:
getEndpoint
in class DefaultProducer
Apache CAMEL