You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by rm...@apache.org on 2015/01/04 20:14:55 UTC
svn commit: r1649387 - in /geronimo/specs/trunk/geronimo-jms_2.0_spec:
pom.xml src/main/java/javax/jms/MessageFormatRuntimeException.java
src/main/java/javax/jms/MessageProducer.java
Author: rmannibucau
Date: Sun Jan 4 19:14:54 2015
New Revision: 1649387
URL: http://svn.apache.org/r1649387
Log:
patch from John D. Ament to fix JMS 2 API
Added:
geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageFormatRuntimeException.java
Modified:
geronimo/specs/trunk/geronimo-jms_2.0_spec/pom.xml
geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageProducer.java
Modified: geronimo/specs/trunk/geronimo-jms_2.0_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jms_2.0_spec/pom.xml?rev=1649387&r1=1649386&r2=1649387&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jms_2.0_spec/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-jms_2.0_spec/pom.xml Sun Jan 4 19:14:54 2015
@@ -98,6 +98,20 @@
<target>1.7</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Added: geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageFormatRuntimeException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageFormatRuntimeException.java?rev=1649387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageFormatRuntimeException.java (added)
+++ geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageFormatRuntimeException.java Sun Jan 4 19:14:54 2015
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package javax.jms;
+
+public class MessageFormatRuntimeException extends JMSRuntimeException {
+ public MessageFormatRuntimeException(String message) {
+ super(message);
+ }
+
+ public MessageFormatRuntimeException(String message, String errorCode) {
+ super(message, errorCode);
+ }
+
+ public MessageFormatRuntimeException(String message, String errorCode, Throwable cause) {
+ super(message, errorCode, cause);
+ }
+}
Modified: geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageProducer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageProducer.java?rev=1649387&r1=1649386&r2=1649387&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageProducer.java (original)
+++ geronimo/specs/trunk/geronimo-jms_2.0_spec/src/main/java/javax/jms/MessageProducer.java Sun Jan 4 19:14:54 2015
@@ -60,11 +60,21 @@ public interface MessageProducer {
void send(Destination destination, Message message) throws JMSException;
- void send(
- Destination destination,
- Message message,
- int deliveryMode,
- int priority,
- long timeToLive)
+ void send(Message message, CompletionListener completionListener) throws JMSException;
+
+ void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)
throws JMSException;
+
+ void send(Destination destination, Message message, CompletionListener completionListener) throws JMSException;
+
+ void send(Message message, int deliveryMode, int priority, long timeToLive,
+ CompletionListener completionListener) throws JMSException;
+
+ void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive,
+ CompletionListener completionListener) throws JMSException;
+
+ long getDeliveryDelay() throws JMSException;
+
+ void setDeliveryDelay(long deliveryDelay) throws JMSException;
}
+