After you configure a connection factory, you can define various client parameters concerning how a JMS server should behave with regard to its clients. For example, you can specify the Client ID a durable subscriber should have when using a connection factory, or you can define how the JMS client reconnect framework should behave.
stop()method to be issued within its onMessage() method call.
In Reconnect Policy, select which types of JMS clients that you want implicitly refreshed upon a network disconnect or server reboot. The default value of Producer refreshes only producer-based client objects derived from this connection factory. This value does not include consumers, queue browsers, and JMS connections with a configured Client ID for a durable subscriber. Select All to refresh all consumer and producer-based clients derived from this connection factory, except for queue browsers. Select None to disable the JMS client reconnect feature on this connection factory.
In Reconnect Blocking Time, specify how long synchronous JMS calls should block the calling thread before giving up on a JMS client reconnect in progress.
In Total Reconnect Period, specify how long asynchronous consumers should keep retrying to reconnect to the server after either the initial network disconnect or the last synchronous JMS call attempt (whichever occurred most recently), before giving up.
For more information about these fields, see Configuration Options.