java.lang.Object
com.erudika.para.server.queue.AWSQueue
- All Implemented Interfaces:
Queue
An implementation of the
Queue
interface using the AWS Simple Queue Service.- Author:
- Alex Bogdanovski [[email protected]]
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AWSQueue
public AWSQueue()No-args constructor. -
AWSQueue
Default consturctor. This queue contains only messages in JSON format.- Parameters:
name
- name of the queue
-
-
Method Details
-
push
-
pull
-
startPolling
public void startPolling()- Specified by:
startPolling
in interfaceQueue
-
stopPolling
public void stopPolling()- Specified by:
stopPolling
in interfaceQueue
-
getName
-
setName
-
getUrl
Returns the queue URL on SQS.- Returns:
- returns the URL of this queue
-