public class MockSQSMessage extends Object implements SQSMessage
MockSQSQueue
,
MockSQSConnector
Constructor and Description |
---|
MockSQSMessage(String body) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes() |
int |
getDeliveryCount() |
String |
getMessageBody() |
String |
getMessageId() |
String |
getReceiptHandle() |
void |
incrementDeliveryCount() |
boolean |
isVisible() |
void |
setVisibleAfter(long visibleAfter) |
public MockSQSMessage(String body)
public String getReceiptHandle()
getReceiptHandle
in interface SQSMessage
public String getMessageBody()
getMessageBody
in interface SQSMessage
public String getMessageId()
getMessageId
in interface SQSMessage
public Map<String,String> getAttributes()
getAttributes
in interface SQSMessage
public void setVisibleAfter(long visibleAfter)
public boolean isVisible()
public int getDeliveryCount()
public void incrementDeliveryCount()
Copyright © 2014. All Rights Reserved.