XATransactionInfo info = new XATransactionInfo();
info.setId(this.packetIdGenerator.generateId());
info.setType(XATransactionInfo.XA_RECOVER);
try {
ResponseReceipt receipt = (ResponseReceipt) this.connection.syncSendRequest(info);
return (ActiveMQXid[]) receipt.getResult();
} catch (JMSException e) {
throw toXAException(e);
}
}