KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ubermq > jms > client > DeliveryMode


1 package com.ubermq.jms.client;
2
3 /**
4  * Additional constants for UberMQ specific delivery modes.
5  */

6 public interface DeliveryMode
7     extends javax.jms.DeliveryMode JavaDoc
8 {
9     /**
10      * Indicates that the message requires a guarantee of
11      * being processed. Using this delivery mode will cause
12      * a client-side publish call to fail with an JMSUndeliverableException
13      * if a durable subscriber registered on the published destination
14      * is disconnected. <P>
15      *
16      * Appropriate use of this delivery mode can be useful to create
17      * guaranteed, fail-fast delivery within a messaging infrastructure.
18      * Delivery is always guaranteed with durable subscriptions, but
19      * timely processing is not guaranteed. Using this mode will
20      * allow your applications to handle service outages (if your durable
21      * subscriptions represent services) gracefully and retry the
22      * operation later, if necessary. The message will not be delivered
23      * to the durable subscriber unless it is republished with another
24      * delivery mode.<P>
25      *
26      * This delivery mode is only significant
27      * in conjunction with durable subscribers, due to their
28      * transactional implementation. <P>
29      *
30      * @see com.ubermq.jms.client.JMSUndeliverableException
31      */

32     public static final int GUARANTEED_PROCESSING = 6;
33 }
34
Popular Tags