Qpid
  1. Qpid
  2. QPID-3850

Add a switch into default exception handler to prevent broker from exiting on unhandled exception

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Add a JVM setting for a default exception handler implementation to prevent broker from exiting on unhandled exception

        Activity

        Hide
        Alex Rudyy added a comment -

        Attached patch with a fix

        Show
        Alex Rudyy added a comment - Attached patch with a fix
        Hide
        Alex Rudyy added a comment -

        Hi Robbie,

        Could you please review and commit the patch attached?

        I tested switch manually by sending messages into a queue with a subscription having selector for which SelectorParsingException was thrown on delivery via QueueRunner

        Show
        Alex Rudyy added a comment - Hi Robbie, Could you please review and commit the patch attached? I tested switch manually by sending messages into a queue with a subscription having selector for which SelectorParsingException was thrown on delivery via QueueRunner
        Hide
        Robbie Gemmell added a comment -

        Patch applied with a couple of small changes: aligned the property name better with the other associated property above, and use the new boolean to update the message output via the logger in similar fashion to the System.err call that was updated.

        Show
        Robbie Gemmell added a comment - Patch applied with a couple of small changes: aligned the property name better with the other associated property above, and use the new boolean to update the message output via the logger in similar fashion to the System.err call that was updated.

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development