mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646400 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4acbd5900a
commit
50bc597fa8
|
@ -1580,7 +1580,7 @@ public class ActiveMQSession implements Session, QueueSession, TopicSession, Sta
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue