Enum tibco_ems_sys::tibemsAcknowledgeMode [−][src]
acknowledgement types
Variants
transacted
In this mode, the session automatically acknowledges a message when message processing is finished—that is, when either of these calls returns successfully: synchronous receive calls (such as tibemsMsgConsumer_Receive) asynchronous listener callback (namely, tibemsMsgCallback)
In this mode, the client program acknowledges receipt by calling tibemsMsg_Acknowledge. Each call acknowledges all messages received so far.
As with TIBEMS_AUTO_ACKNOWLEDGE, the session automatically acknowledges messages. However, it may do so lazily. Lazy means that the provider client library can delay transferring the acknowledgement to the server until a convenient time; meanwhile the server might redeliver the message. Lazy acknowledgement can reduce session overhead.
In TIBEMS_NO_ACKNOWLEDGE mode, messages do not require acknowledgement (which reduces message overhead). The server never redelivers messages. This mode and behavior are proprietary extensions, specific to TIBCO EMS.
As with TIBEMS_CLIENT_ACKNOWLEDGE, the client program acknowledges receipt by calling tibemsMsg_Acknowledge. However, each call acknowledges only the individual message. The client may acknowledge messages in any order. This mode and behavior are proprietary extensions, specific to TIBCO EMS.
In this mode, the client program lazily acknowledges only the individual message, by calling tibemsMsg_Acknowledge. The client may acknowledge messages in any order. Lazy means that the provider client library can delay transferring the acknowledgement to the server until a convenient time; meanwhile the server might redeliver the message. This mode and behavior are proprietary extensions, specific to TIBCO EMS.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for tibemsAcknowledgeMode
impl Send for tibemsAcknowledgeMode
impl Sync for tibemsAcknowledgeMode
impl Unpin for tibemsAcknowledgeMode
impl UnwindSafe for tibemsAcknowledgeMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,