Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-192

Ability to define client reconnection and session reattachment options to factory

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Labels:

      Description

      My use case is a consumer listening to a remote queue which becomes disconnected. The log gets the following message in this case:

      18:24:47,492 WARNING [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] (Thread-2 (group:HornetQ-client-global-threads-1123639765)) Connection failure has been detected: The connection was disconnected because of server shutdown [code=4]

      It looks like offers hooks to specify reconnect-attempts and retry-intervals:

      http://docs.jboss.org/hornetq/2.2.5.Final/user-manual/en/html/client-reconnection.html

      Can these options be exposed in the immutant connection factory?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rboyd Robert Boyd
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: