This commit is contained in:
Clebert Suconic 2017-03-06 15:18:58 -05:00
commit 3566077b6e
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}