activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1085773 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java
Date Sat, 26 Mar 2011 17:24:27 GMT
Author: tabish
Date: Sat Mar 26 17:24:27 2011
New Revision: 1085773

URL: http://svn.apache.org/viewvc?rev=1085773&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQ-3241

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java?rev=1085773&r1=1085772&r2=1085773&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageProducerSupport.java
Sat Mar 26 17:24:27 2011
@@ -26,7 +26,7 @@ import javax.jms.MessageProducer;
 /**
  * A useful base class for implementing a {@link MessageProducer}
  *
- * 
+ *
  */
 public abstract class ActiveMQMessageProducerSupport implements MessageProducer, Closeable
{
     protected ActiveMQSession session;
@@ -131,7 +131,7 @@ public abstract class ActiveMQMessagePro
      */
     public void setDeliveryMode(int newDeliveryMode) throws JMSException {
         if (newDeliveryMode != DeliveryMode.PERSISTENT && newDeliveryMode != DeliveryMode.NON_PERSISTENT)
{
-            throw new javax.jms.IllegalStateException("unkown delivery mode: " + newDeliveryMode);
+            throw new javax.jms.IllegalStateException("unknown delivery mode: " + newDeliveryMode);
         }
         checkClosed();
         this.defaultDeliveryMode = newDeliveryMode;



Mime
View raw message