setPubAckInterval

 

public void setPubAckInterval(int interval) throws JMSException;

Sets the number of messages that can be published before requiring acknowledgement from the broker. Applications do not normally alter this value, and must not rely on this acknowledgement.

Parameters

  • interval - the number of messages to use as an interval. The default is 25.

Exceptions

  • JMSException - if an internal error occurs.


uj28640_