}
public void acknowledgeTransactedMessage(BrokerClient client, String transactionId, MessageAck ack) throws JMSException {
Subscription sub = (Subscription) activeSubscriptions.get(ack.getConsumerId());
if (sub != null) {
sub.onAcknowledgeTransactedMessageBeforeCommit(ack);
}
}
public void redeliverMessage(BrokerClient client, MessageAck ack) throws JMSException {
Subscription sub = (Subscription) activeSubscriptions.get(ack.getConsumerId());