mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 23:16:52 +00:00
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
510bf9b5da
commit
b4c3a30b9e
@ -165,6 +165,9 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
|
||||
throw new InvalidDestinationException(
|
||||
"Cannot use a Temporary destination that has been deleted");
|
||||
}
|
||||
if (prefetch < 0) {
|
||||
throw new JMSException("Cannot have a prefetch size less than zero");
|
||||
}
|
||||
}
|
||||
|
||||
this.session = session;
|
||||
|
Loading…
x
Reference in New Issue
Block a user