Struct mimir::MsgProps [] [src]

pub struct MsgProps { /* fields omitted */ }

ODPI-C Message Props wrapper.

Methods

impl Properties
[src]

[src]

Returns the number of attempts that have been made to dequeue a message.

[src]

Returns the correlation supplied by the producer when the message was enqueued.

[src]

Returns the number of seconds the enqueued message will be delayed.

[src]

Returns the mode that was used to deliver the message.

[src]

Returns the time that the message was enqueued.

[src]

Returns the name of the queue to which the message is moved if it cannot be processed successfully. See function MsgProps::set_exception_q() for more information.

[src]

Returns the number of seconds the message is available to be dequeued. See function MsgProps::set_expiration() for more information.

[src]

Returns the id of the message in the last queue that generated this message. See function MsgProps::set_original_msg_id() for more information.

[src]

Returns the priority assigned to the message. See function MsgProps::set_priority() for more information.

[src]

Returns the state of the message at the time of dequeue.

[src]

Sets the correlation of the message to be dequeued. Special pattern matching characters such as the percent sign (%) and the underscore (_) can be used. If multiple messages satisfy the pattern, the order of dequeuing is undetermined.

[src]

Sets the number of seconds to delay the message before it can be dequeued. Messages enqueued with a delay are put into the Waiting state. When the delay expires the message is put into the Ready state. Dequeuing directly by message id overrides this delay specification. Note that delay processing requires the queue monitor to be started.

[src]

Sets the name of the queue to which the message is moved if it cannot be processed successfully. Messages are moved if the number of unsuccessful dequeue attempts has reached the maximum allowed number or if the message has expired. All messages in the exception queue are in the Expired state.

[src]

Sets the number of seconds the message is available to be dequeued. This value is an offset from the delay. Expiration processing requires the queue monitor to be running. Until this time elapses, the messages are in the queue in the state Ready. After this time elapses messages are moved to the exception queue in the Expired state.

[src]

Sets the id of the message in the last queue that generated this message.

[src]

Sets the priority assigned to the message. A smaller number indicates a higher priority. The priority can be any number, including negative numbers.

Trait Implementations

impl Clone for Properties
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<*mut ODPIMsgProps> for Properties
[src]

[src]

Performs the conversion.

impl Drop for Properties
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for MsgProps

impl !Sync for MsgProps