activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-1017 reword error message
Date Mon, 06 Mar 2017 20:19:13 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master ffb7c5654 -> 3566077b6


ARTEMIS-1017 reword error message

reword error message when default destination for producer is not specified


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/84dfa24e
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/84dfa24e
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/84dfa24e

Branch: refs/heads/master
Commit: 84dfa24e38557093ee81b6f6551e029ec4d52a35
Parents: ffb7c56
Author: Jiri Danek <jdanek@redhat.com>
Authored: Sat Mar 4 18:08:15 2017 +0100
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Mar 6 15:18:00 2017 -0500

----------------------------------------------------------------------
 .../activemq/artemis/jms/client/ActiveMQMessageProducer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/84dfa24e/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
----------------------------------------------------------------------
diff --git a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
index e44cd8a..74dd39a 100644
--- a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
+++ b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageProducer.java
@@ -336,7 +336,7 @@ public class ActiveMQMessageProducer implements MessageProducer, QueueSender,
To
     */
    private void checkDefaultDestination() {
       if (defaultDestination == null) {
-         throw new UnsupportedOperationException("Cannot specify destination if producer
has a default destination");
+         throw new UnsupportedOperationException("Producer does not have a default destination");
       }
    }
 


Mime
View raw message