[
https://issues.apache.org/jira/browse/LIBCLOUD-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828211#comment-13828211
]
Tomaz Muraus commented on LIBCLOUD-298:
---------------------------------------
I had a look at the queue APIs quite a while back and I agree that this would
be a good addition to Libcloud.
I also started working on a proposal, but I never managed to finish it. In any
case, here are some really rough notes I took about how the base API could look
like:
Queue
Message
Driver
- get_queue()
- create_queue(name, extra)
- list_queues
- delete_queue(name)
- receive_message()
- receive_messages(count=1)
- send_message(queue, body)
- send_messages(queue,bodies)
Queue
- id
- name
- extra
Message
- id
- payload
> Support for queues
> ------------------
>
> Key: LIBCLOUD-298
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-298
> Project: Libcloud
> Issue Type: New Feature
> Components: Core
> Reporter: Mahendra M
> Assignee: Mahendra M
>
> This ticket is for providing support for queues (Amazon SQS, Azure Queues
> etc.).
> Was inspecting SQS and Azure Queues. There is lot of functionality in common.
> This can be abstracted out into simple apis for
> * creating, listing, deleting queues
> * sending/receiving messages
> Extra functionality can be supported via extensions.
> Have a working version ready with drivers for Azure Queues and Amazon SQS.
> Will submit a patch after writing test cases
--
This message was sent by Atlassian JIRA
(v6.1#6144)