-
<string>name - The name of the queue to open, it MUST start with a '/'.
-
<boolean>create - Set to true to create the queue if it doesn't already exist. The queue will be owned by the user and group of the current process.
-
<boolean>exclusive - If creating a queue, set to true if you want to ensure a queue with the given name does not already exist.
-
<mixed>mode - If creating a queue, this is the permissions to use. This can be an octal string (e.g. '0777') or an integer.
-
<integer>maxmsgs - If creating a queue, this is the maximum number of messages the queue can hold. This value is subject to the system limits in place and defaults to 10.
-
<integer>msgsize - If creating a queue, this is the maximum size of each message (in bytes) in the queue. This value is subject to the system limits in place and defaults to 8192 bytes.