Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2434

Set JMSConfig's reconnectionOnException default value to be true

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3, 2.0.10, 2.1.4, 2.2, 2.0.11, 2.1.5, 2.2.1, 2.2.2, 2.0.12, 2.1.6, 2.2.3
    • 2.1.7, 2.2.4, 2.3
    • None
    • None

    Description

      JMS transport will try to wrap a connectionFactory with Spring's SingleConnectionFactory, and the SingleConnectionFactory's default vaule of reconnectOnException is false. It will cause the SingleConnectionFactory not try to reconnection the JMS broker when the exception is thrown.

      So we need to set the JMSConfig's default value of reconnectOnException to be true to enable this recovery feature by default.

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: