activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r646400 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java
Date Wed, 09 Apr 2008 15:14:59 GMT
Author: rajdavies
Date: Wed Apr  9 08:14:58 2008
New Revision: 646400

URL: http://svn.apache.org/viewvc?rev=646400&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-1651

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java?rev=646400&r1=646399&r2=646400&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java Wed
Apr  9 08:14:58 2008
@@ -1580,7 +1580,7 @@
 
         checkClosed();
         if (destination.isTemporary() && connection.isDeleted(destination)) {
-            throw new JMSException("Cannot publish to a deleted Destination: " + destination);
+            throw new InvalidDestinationException("Cannot publish to a deleted Destination:
" + destination);
         }
         synchronized (sendMutex) {
             // tell the Broker we are about to start a new transaction



Mime
View raw message