ARTEMIS-1017 reword error message
reword error message when default destination for producer is not specified
This commit is contained in:
parent
ffb7c5654a
commit
84dfa24e38
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue