Message API v1

Message API v1

For details on how to use message, see Using OpenStack Message

The Message v1 Class

The message high-level interface is available through the message member of a Connection object. The message member will only be added if the service is detected.

Message Operations

class openstack.message.v1._proxy.Proxy(session)
claim_messages(*args, **kwargs)

Claims a set of messages.

Parameters:value – The value must be a Claim instance.
Returns:The list of Message objects that were claimed.

Deprecated since version 0.9.16: This will be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.

create_messages(*args, **kwargs)

Create new messages

Parameters:values (list) – The list of Message objects to create.
Returns:The list of Message objects that were created.

Deprecated since version 0.9.16: This will be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.

delete_message(*args, **kwargs)

Delete a message

Parameters:value – The value must be a Message instance.
Returns:None

Deprecated since version 0.9.16: This will be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.

Queue Operations

class openstack.message.v1._proxy.Proxy(session)
create_queue(*args, **kwargs)

Create a new queue from attributes

Parameters:attrs (dict) – Keyword arguments which will be used to create a Queue, comprised of the properties on the Queue class.
Returns:The results of queue creation
Return type:Queue

Deprecated since version 0.9.16: This will be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.

delete_queue(*args, **kwargs)

Delete a queue

Parameters:
  • value – The value can be either the name of a queue or a Queue instance.
  • ignore_missing (bool) – When set to False ResourceNotFound will be raised when the queue does not exist. When set to True, no exception will be set when attempting to delete a nonexistent queue.
Returns:

None

Deprecated since version 0.9.16: This will be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.