mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-24 03:06:08 +00:00
ARTEMIS-713 Possible integer overflow in SubscriptionsResource.recreateTopicConsumer
Fixing compilation
This commit is contained in:
parent
5792fca9c7
commit
12716a3e8f
@ -376,7 +376,7 @@ public class SubscriptionsResource implements TimeoutTask.Callback {
|
||||
if (subscriptionExists(subscriptionId)) {
|
||||
QueueConsumer tmp = null;
|
||||
try {
|
||||
tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000l, false);
|
||||
tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000L, false);
|
||||
}
|
||||
catch (ActiveMQException e) {
|
||||
throw new RuntimeException(e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user