This closes #1063
This commit is contained in:
commit
3566077b6e
|
@ -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