Skip to content

Commit

Permalink
NAS-2751 - we evaluated the limit for resetting jms wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
Søren Vejrup Carlsen committed May 14, 2018
1 parent cd409ac commit d7e979a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ synchronized int getCount(ChannelID queueID) {
QueueBrowser qBrowser;
int submittedCounter = 0;
try {
if (callCounter > CALL_LIMIT) {
if (callCounter >= CALL_LIMIT) {
callCounter=0;
jmsConnection.cleanup();
jmsConnection = new JMSConnectionSunMQ();
Expand Down

0 comments on commit d7e979a

Please sign in to comment.