public class PlainTextAmazonSQSConnector extends AmazonAwsSQSConnector
MESSAGE_ATTRIBUTE_APPROXIMATE_RECEIVE_COUNT
_log, AWS_ERROR_CODE_AUTHENTICATION
Constructor and Description |
---|
PlainTextAmazonSQSConnector(String awsAccessKey,
String awsSecretKey,
boolean isSecure,
long receiveCheckIntervalMs) |
PlainTextAmazonSQSConnector(String awsAccessKey,
String awsSecretKey,
boolean isSecure,
long receiveCheckIntervalMs,
boolean isAsync) |
Modifier and Type | Method and Description |
---|---|
protected NevadoMessage |
deserializeMessage(String serializedMessage)
Deserializes the body of an SQS message into a NevadoMessage object.
|
protected String |
serializeMessage(NevadoMessage message)
Serialize a NevadoMessage object into the body of an SQS message into a bae64 string.
|
convertSqsMessage, createTopic, deleteTopic, getAmazonSNS, getAmazonSQS, getSQSQueueImpl, getTopicARN, handleAWSException, listQueues, listTopics, sendSNSMessage, subscribe, test, unsubscribe
createQueue, deleteMessage, deleteQueue, getPolicy, getSQSQueue, isAsync, receiveMessage, receiveSQSMessage, resetMessage, sendMessage, sendMessages, sendSQSMessage
public PlainTextAmazonSQSConnector(String awsAccessKey, String awsSecretKey, boolean isSecure, long receiveCheckIntervalMs)
protected String serializeMessage(NevadoMessage message) throws javax.jms.JMSException
AbstractSQSConnector
serializeMessage
in class AbstractSQSConnector
message
- A NevadoMessage objectjavax.jms.JMSException
- Unable to serialize the messageprotected NevadoMessage deserializeMessage(String serializedMessage) throws javax.jms.JMSException
AbstractSQSConnector
deserializeMessage
in class AbstractSQSConnector
serializedMessage
- String-serialized NevadoMessagejavax.jms.JMSException
- Unable to deserializeFromString a single NevadoMessage object from the sourceCopyright © 2014. All Rights Reserved.