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.
param value: The value must be a Claim
instance.returns: The list of Message
objects that were claimed.Deprecated in 0.9.16, to be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.
-
create_messages
(*args, **kwargs)¶ Create new messages
param values: The list of Message
objects to create.type values: list
returns: The list of Message
objects that were created.Deprecated in 0.9.16, to be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.
-
delete_message
(*args, **kwargs)¶ Delete a message
param value: The value must be a Message
instance.returns: None
Deprecated in 0.9.16, to 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
param dict attrs: Keyword arguments which will be used to create a Queue
, comprised of the properties on the Queue class.returns: The results of queue creation rtype: Queue
Deprecated in 0.9.16, to be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.
-
delete_queue
(*args, **kwargs)¶ Delete a queue
param value: The value can be either the name of a queue or a Queue
instance.param bool ignore_missing: When set to False
ResourceNotFound
will be raised when the queue does not exist. When set toTrue
, no exception will be set when attempting to delete a nonexistent queue.returns: None
Deprecated in 0.9.16, to be removed in 0.9.17. Message v1 is deprecated since 2014. Use v2.
-