ARTEMIS-565 fixing pre-ack example
This commit is contained in:
parent
fccf1c8243
commit
ea1651b663
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue