Your server application can deliver an acknowledgment reply if the infoset for the request event type defines that a simple success or failure indication is all that is required. When invoking the
BrokerClient.deliverAckReplyEvent method, you can either specify a valid publish sequence number or specify a value of zero if you do not want to use publish sequence numbers. For more information, see
Using Sequence Numbers.
. . .
try {
c.deliverAckReplyEvent(e,0);
} catch (BrokerException ex) {
...
}
. .