* @throws JMSException
*/
public ReceiptHolder asyncSendWithReceipt(Packet packet) throws JMSException {
ReceiptHolder rh = new ReceiptHolder();
requestMap.put(new Short(packet.getId()), rh);
Packet response = doAsyncSend(packet);
if (response != null && response instanceof Receipt){
rh.setReceipt((Receipt)response);
}
return rh;
}