Messages management operations
Marconi client should provide a simple interface for a user to post, get and delete messages from different queues.
Blueprint information
- Status:
- Complete
- Approver:
- Flavio Percoco
- Priority:
- Undefined
- Drafter:
- Flavio Percoco
- Direction:
- Needs approval
- Assignee:
- Flavio Percoco
- Definition:
- New
- Series goal:
- Accepted for icehouse
- Implementation:
- Implemented
- Milestone target:
- icehouse-2
- Started by
- Flavio Percoco
- Completed by
- Kurt Griffiths
Related branches
Related bugs
Sprints
Whiteboard
>> queue.messages() - Optional params: limit, echo
(<Message ...>, <Message ...>)
>> queue.messages.next - Gets the next set of messages from the previous marker. - Optional params: limit & echo
(<Message ...>, <Message ...>)
>> queue.messages_
[<Messages ...>, ...]
>> msg = queue.message_
>> msg.queue looks loop-y
<Queue ...>
>> msg.age
770
>> msg.ttl
800
>> msg.id # gathered from href
u'50b68a50d6f5b
'
>> msg.body
{'event': 'buy_one_get_one', 'date': 'Mar. 10, 2015 1:23:15'}
>> queue.post([msg, msg, msg]) # creates three new messages
>> queue.delete_
Gerrit topic: https:/
Addressed by: https:/
Implement message controller.
Addressed by: https:/
Update tox.ini and setup.cfg
Gerrit topic: https:/
Addressed by: https:/
Implement message controller.
Gerrit topic: https:/
Addressed by: https:/
Bootstrap Messages support
Work Items
Dependency tree
* Blueprints in grey have been implemented.