SonicMQ API

progress.message.jclient
Class DeliveryMode

java.lang.Object
  extended by progress.message.jclient.DeliveryMode

public final class DeliveryMode
extends java.lang.Object

This class defines the message delivery mode(s) specific to Progress SonicMQ

Version:
1.00, 10/9/99
Author:
Perry Yin

Field Summary
static int DISCARDABLE
          This mode is essentially another type of non-persistent delivery.
static int NON_PERSISTENT_ASYNC
          Deprecated.  
static int NON_PERSISTENT_REPLICATED
          This delivery mode is used with fault-tolerant connections.
static int NON_PERSISTENT_SYNC
          Deprecated.  
 
Constructor Summary
DeliveryMode()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NON_PERSISTENT_ASYNC

public static final int NON_PERSISTENT_ASYNC
Deprecated. 
In this mode, non-persistent messages are published asynchronously. The sender does not block to await acknowledgement from message server. Messages can be lost if client fails.


NON_PERSISTENT_SYNC

public static final int NON_PERSISTENT_SYNC
Deprecated. 
In this mode, non-persistent messages are published synchronously. The sender blocks until acknowledgement is received from messge broker. Only use if security is disabled.


DISCARDABLE

public static final int DISCARDABLE
This mode is essentially another type of non-persistent delivery. It can only be used by TopicPublishers and non-transacted sessions. It tells message server to discard messages for slow receivers that would otherwise block the sender.


NON_PERSISTENT_REPLICATED

public static final int NON_PERSISTENT_REPLICATED
This delivery mode is used with fault-tolerant connections. In this mode, non-persistent messages are protected from broker failures by being replicated to a standby broker. This delivery mode also ensures once-and-only-once deliver to fault-tolerant subscribers (both durable and non-durable) provided that after a failure the subscriber either successfully resumes its connection at the same broker or fails over to the standby broker.

Constructor Detail

DeliveryMode

public DeliveryMode()

SonicMQ API

Copyright © 1999-2011 Progress Software Corporation. All Rights Reserved.
HTML formatted on 5-August-2011.