ARTEMIS-565 fixing pre-ack example

This commit is contained in:
Clebert Suconic 2016-07-28 17:32:01 -04:00
parent fccf1c8243
commit ea1651b663
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class PreacknowledgeExample {
Message response = requestor.request(m);
int messageCount = (Integer) JMSManagementHelper.getResult(response);
int messageCount = (Integer) JMSManagementHelper.getResult(response, Integer.class);
return messageCount;
}