KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > activemq > ra > MessageActivationSpec


1 /**
2  * $Header$
3  *
4  * Broker Office ESPECIAL (Release) - org.apache.activemq.ra
5  *
6  * Copyright (C) 2005-2007 Norvax, Inc.
7  * All Rights Reserved
8  *
9  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Norvax, Inc.; the contents
10  * of this file may not be disclosed to third parties, copied or duplicated
11  * in any form, in whole or in part, without the prior written permission of
12  * Norvax, Inc. The copyright notice above does not evidence any actual or
13  * intended publication of such source code.
14  *
15  * Permission is hereby granted solely to the licensee for use of this source
16  * code in its unaltered state. This source code may not be modified by
17  * licensee except under direction of Norvax, Inc. Neither may this source
18  * code be given under any circumstances to non-licensees in any form,
19  * including source or binary. Modification of this source constitutes breach
20  * of contract, which voids any potential pending support responsibilities by
21  * Norvax, Inc. Divulging the exact or paraphrased contents of this source
22  * code to unlicensed parties either directly or indirectly constitutes
23  * violation of federal and international copyright and trade secret laws, and
24  * will be duly prosecuted to the fullest extent permitted under law.
25  *
26  * This software is provided by Norvax, Inc. ``as is'' and any express or
27  * implied warranties, including, but not limited to, the implied warranties
28  * of merchantability and fitness for a particular purpose are disclaimed. In
29  * no event shall the regents or contributors be liable for any direct,
30  * indirect, incidental, special, exemplary, or consequential damages
31  * (including, but not limited to, procurement of substitute goods or
32  * services; loss of use, data, or profits; or business interruption) however
33  * caused and on any theory of liability, whether in contract, strict
34  * liability, or tort (including negligence or otherwise) arising in any way
35  * out of the use of this software, even if advised of the possibility of such
36  * damage.
37  *
38  **/

39
40 package org.apache.activemq.ra;
41
42 import javax.resource.spi.ActivationSpec JavaDoc;
43
44 import org.apache.activemq.RedeliveryPolicy;
45
46 /**
47  * Description: Description goes here.
48  *
49  * @author <a HREF="mailto:cstach@norvax.com">Christopher G. Stach II</a>
50  * @version $Revision$ $Date$
51  * @since 0.1
52  */

53 public interface MessageActivationSpec
54         extends ActivationSpec JavaDoc
55 {
56
57     /**
58      */

59     String JavaDoc getClientId();
60     
61     /**
62      */

63     boolean isDurableSubscription();
64
65     /**
66      */

67     String JavaDoc getPassword();
68
69     /**
70      */

71     String JavaDoc getUserName();
72
73     /**
74      */

75     RedeliveryPolicy redeliveryPolicy();
76
77     /**
78      */

79     String JavaDoc getSubscriptionName();
80
81     /**
82      */

83     String JavaDoc getMessageSelector();
84
85     /**
86      */

87     int getMaxMessagesPerSessionsIntValue();
88
89     /**
90      */

91     boolean getNoLocalBooleanValue();
92
93     /**
94      */

95     String JavaDoc getDestinationType();
96
97     /**
98      */

99     String JavaDoc getDestination();
100
101     /**
102      */

103     int getMaxSessionsIntValue();
104
105     /**
106     *
107      */

108     int getAcknowledgeModeForSession();
109
110     /**
111      *
112      */

113     String JavaDoc getMaxMessagesPerSessions();
114
115     /**
116      *
117      */

118     boolean isUseRAManagedTransactionEnabled();
119
120     /**
121      *
122      */

123     String JavaDoc getEnableBatch();
124
125     /**
126      *
127      */

128     boolean getEnableBatchBooleanValue();
129
130     /**
131      *
132      */

133     int getMaxMessagesPerBatchIntValue();
134
135     /**
136      *
137      */

138     String JavaDoc getMaxMessagesPerBatch();
139 }
140
Popular Tags