pub struct EnqOptions { /* private fields */ }
aq_unstable
only.Expand description
Options when enqueuing messages using advanced queueing
Warning: The type is unstable. It may be changed incompatibly by minor version upgrades.
Implementations§
Source§impl EnqOptions
impl EnqOptions
Sourcepub fn transformation(&self) -> Result<String>
pub fn transformation(&self) -> Result<String>
Returns the transformation of the message to be enqueued.
See set_transformation
method for more information.
Sourcepub fn visibility(&self) -> Result<Visibility>
pub fn visibility(&self) -> Result<Visibility>
Returns whether the message being enqueued is part of the current transaction or constitutes a transaction on its own.
Sourcepub fn set_delivery_mode(&mut self, val: &MessageDeliveryMode) -> Result<()>
pub fn set_delivery_mode(&mut self, val: &MessageDeliveryMode) -> Result<()>
Sets the message delivery mode that is to be used when enqueuing messages.
Sourcepub fn set_transformation(&mut self, val: &str) -> Result<()>
pub fn set_transformation(&mut self, val: &str) -> Result<()>
Sets the transformation of the message to be enqueued.
The transformation is applied after the message is enqueued but before it is returned to the application. It must be created using DBMS_TRANSFORM.
Sourcepub fn set_visibility(&mut self, val: &Visibility) -> Result<()>
pub fn set_visibility(&mut self, val: &Visibility) -> Result<()>
Sets whether the message being enqueued is part of the current transaction or constitutes a transaction on its own.