setSparseSubscriptions

 

public void setSparseSubscriptions(boolean sparse) throws JMSException;

Sets whether sparse subscriptions are selected. A sparse subscription is one that receives infrequent matching messages.

Parameters

  • sparse - true indicates that sparse subscriptions are selected. This might be required if an application using sparse subscriptions fails to receive messages because of log overflow. If you set the attribute to true, the application must be able to open the consumer queue for browsing messages. The default value of this attribute is false.

Exceptions

  • JMSException - if an internal error occurs.


uj28740_