001: /*
002: * The contents of this file are subject to the terms of the Common Development
003: * and Distribution License (the License). You may not use this file except in
004: * compliance with the License.
005: *
006: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007: * or http://www.netbeans.org/cddl.txt.
008: *
009: * When distributing Covered Code, include this CDDL Header Notice in each file
010: * and include the License file at http://www.netbeans.org/cddl.txt.
011: * If applicable, add the following below the CDDL Header, with the fields
012: * enclosed by brackets [] replaced by your own identifying information:
013: * "Portions Copyrighted [year] [name of copyright owner]"
014: *
015: * The Original Software is NetBeans. The Initial Developer of the Original
016: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017: * Microsystems, Inc. All Rights Reserved.
018: */
019:
020: package org.netbeans.modules.wsdlextensions.jms;
021:
022: /**
023: * JMSOperation
024: */
025: public interface JMSOperation extends JMSComponent {
026:
027: public static final String IN_ONLY = "http://www.w3.org/2004/08/wsdl/in-only";
028: public static final String IN_OUT = "http://www.w3.org/2004/08/wsdl/in-out";
029: public static final String IN_OPTIONAL_OUT = "http://www.w3.org/2004/08/wsdl/in-opt-out";
030: public static final String ROBUST_IN_ONLY = "http://www.w3.org/2004/08/wsdl/robust-in-only";
031: public static final String OUT_ONLY = "http://www.w3.org/2004/08/wsdl/out-only";
032: public static final String OUT_IN = "http://www.w3.org/2004/08/wsdl/out-in";
033: public static final String OUT_OPTIONAL_IN = "http://www.w3.org/2004/08/wsdl/out-opt-in";
034: public static final String ROBUST_OUT_ONLY = "http://www.w3.org/2004/08/wsdl/robust-out-only";
035:
036: public static final String ELEMENT_OPTIONS = "options";
037:
038: // common
039: public static final String ATTR_DESTINATION = "destination";
040: public static final String ATTR_DESTINATION_TYPE = "destinationType";
041: public static final String ATTR_TRANSACTION = "transaction";
042:
043: // provider (outbound)
044: public static final String ATTR_TIME_TO_LIVE = "timeToLive";
045: public static final String ATTR_DELIVERY_MODE = "deliveryMode";
046: public static final String ATTR_PRIORITY = "priority";
047: public static final String ATTR_DISABLE_MESSAGE_ID = "disableMessageID";
048: public static final String ATTR_DISABLE_MESSAGE_TIMESTAMP = "disableMessageTimeStamp";
049: public static final String ATTR_TIMEOUT = "timeout";
050:
051: // consumer (inbound)
052: public static final String ATTR_CLIENT_ID = "clientID";
053: public static final String ATTR_MESSAGE_SELECTOR = "messageSelector";
054: public static final String ATTR_SUBSCRIPTION_DURABILITY = "subscriptionDurability";
055: public static final String ATTR_SUBSCRIPTION_NAME = "subscriptionName";
056: public static final String ATTR_BATCH_SZIE = "batchSize";
057: public static final String ATTR_MAX_CONCURRENT_CONSUMERS = "maxConcurrentConsumers";
058: public static final String ATTR_CONCURRENCY_MODE = "concurrencyMode";
059: public static final String ATTR_REDELIVERY_HANDLING = "redeliveryHandling";
060:
061: /*
062: public JMSOptions getOptions() {
063: return options;
064: }
065:
066: public void setOptions(JMSOptions val) {
067: options = val;
068: }
069: */
070:
071: public String getDestination();
072:
073: public void setDestination(String val);
074:
075: public String getDestinationType();
076:
077: public void setDestinationType(String val);
078:
079: public String getTransaction();
080:
081: public void setTransaction(String val);
082:
083: public String getDeliveryMode();
084:
085: public void setDeliveryMode(String val);
086:
087: public long getTimeToLive();
088:
089: public void setTimeToLive(long val);
090:
091: public int getPriority();
092:
093: public void setPriority(int val);
094:
095: public boolean getDisableMessageID();
096:
097: public void setDisableMessageID(boolean val);
098:
099: public boolean getDisableMessageTimeStamp();
100:
101: public void setDisableMessageTimeStamp(boolean val);
102:
103: public long getTimeout();
104:
105: public void setTimeout(long val);
106:
107: public String getClientID();
108:
109: public void setClientID(String val);
110:
111: public String getMessageSelector();
112:
113: public void setMessageSelector(String val);
114:
115: public String getSubscriptionDurability();
116:
117: public void setSubscriptionDurability(String val);
118:
119: public String getSubscriptionName();
120:
121: public void setSubscriptionName(String val);
122:
123: public int getBatchSize();
124:
125: public void setBatchSize(int val);
126:
127: public int getMaxConcurrentConsumers();
128:
129: public void setMaxConcurrentConsumers(int val);
130:
131: public String getRedeliveryHandling();
132:
133: public void setRedeliveryHandling(String val);
134:
135: public String getConcurrencyMode();
136:
137: public void setConcurrencyMode(String val);
138:
139: }
|