org.dasein.cloud.aws.platform
Class SQS
java.lang.Object
org.dasein.cloud.platform.AbstractMQSupport<AWSCloud>
org.dasein.cloud.aws.platform.SQS
- All Implemented Interfaces:
- org.dasein.cloud.AccessControlledService, org.dasein.cloud.platform.MQSupport
public class SQS
- extends org.dasein.cloud.platform.AbstractMQSupport<AWSCloud>
| Fields inherited from interface org.dasein.cloud.platform.MQSupport |
ANY |
| Methods inherited from class org.dasein.cloud.platform.AbstractMQSupport |
getContext, getMessageQueue, getProvider, mapServiceAction, receiveMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SET_QUEUE_ATTRIBUTES
public static final String SET_QUEUE_ATTRIBUTES
- See Also:
- Constant Field Values
SQS
public SQS(AWSCloud provider)
asSQSServiceAction
public static org.dasein.cloud.identity.ServiceAction[] asSQSServiceAction(String action)
createMessageQueue
@Nonnull
public String createMessageQueue(@Nonnull
org.dasein.cloud.platform.MQCreateOptions options)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
createMessageQueue in interface org.dasein.cloud.platform.MQSupport- Overrides:
createMessageQueue in class org.dasein.cloud.platform.AbstractMQSupport<AWSCloud>
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
getProviderTermForMessageQueue
@Nonnull
public String getProviderTermForMessageQueue(@Nonnull
Locale locale)
isSubscribed
public boolean isSubscribed()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listMessageQueues
@Nonnull
public Iterable<org.dasein.cloud.platform.MessageQueue> listMessageQueues()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listMessageQueueStatus
@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listMessageQueueStatus()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listMessageQueueStatus in interface org.dasein.cloud.platform.MQSupport- Overrides:
listMessageQueueStatus in class org.dasein.cloud.platform.AbstractMQSupport<AWSCloud>
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
receiveMessages
@Nonnull
public Iterable<org.dasein.cloud.platform.MQMessageReceipt> receiveMessages(@Nonnull
String mqId,
@Nullable
org.dasein.util.uom.time.TimePeriod<org.dasein.util.uom.time.Second> waitTime,
@Nonnegative
int count,
@Nullable
org.dasein.util.uom.time.TimePeriod<org.dasein.util.uom.time.Second> visibilityTimeout)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
removeMessageQueue
public void removeMessageQueue(@Nonnull
String mqId,
@Nullable
String reason)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
removeMessageQueue in interface org.dasein.cloud.platform.MQSupport- Overrides:
removeMessageQueue in class org.dasein.cloud.platform.AbstractMQSupport<AWSCloud>
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
sendMessage
@Nonnull
public org.dasein.cloud.platform.MQMessageIdentifier sendMessage(@Nonnull
String mqId,
@Nonnull
String message)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.