Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1955

JMS Appender should be able connect to a broker (later) even it is not present at configuration time

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0
    • Component/s: None
    • Labels:
      None

      Description

      JMS Appender should be able connect to a broker (later) even it is not present at configuration time.

      The use case is:

      1. Start an application using Log4j.
      2. The JMS broker is not running
      3. Log4j does not log events to JMS
      4. The broker is started
      5. Log4j still does not log events to JMS

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit de7487ed22b03f5c1a73ddb8f8d0f8bc89b8f4d8 in logging-log4j2's branch refs/heads/master from Gary Gregory
        [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=de7487e ]

        LOG4J2-1934 JMS Appender does not know how to recover from a broken
        connection.
        LOG4J2-1955JMS Appender should be able connect to a broker (later)
        even it is not present at configuration time.

        Show
        jira-bot ASF subversion and git services added a comment - Commit de7487ed22b03f5c1a73ddb8f8d0f8bc89b8f4d8 in logging-log4j2's branch refs/heads/master from Gary Gregory [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=de7487e ] LOG4J2-1934 JMS Appender does not know how to recover from a broken connection. LOG4J2-1955 JMS Appender should be able connect to a broker (later) even it is not present at configuration time.
        Hide
        garydgregory Gary Gregory added a comment -

        In Git master. Recoded to follow the Reconnect thread pattern from TcpSocketManager. Looking for a peer-review.

        Show
        garydgregory Gary Gregory added a comment - In Git master. Recoded to follow the Reconnect thread pattern from TcpSocketManager . Looking for a peer-review.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 55f80f35060d60788393714514b1c27aa5773095 in logging-log4j2's branch refs/heads/master from Gary Gregory
        [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=55f80f3 ]

        LOG4J2-1934 JMS Appender does not know how to recover from a broken
        connection.
        LOG4J2-1955JMS Appender should be able connect to a broker (later)
        even it is not present at configuration time.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 55f80f35060d60788393714514b1c27aa5773095 in logging-log4j2's branch refs/heads/master from Gary Gregory [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=55f80f3 ] LOG4J2-1934 JMS Appender does not know how to recover from a broken connection. LOG4J2-1955 JMS Appender should be able connect to a broker (later) even it is not present at configuration time.

          People

          • Assignee:
            garydgregory Gary Gregory
            Reporter:
            garydgregory Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development