Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14156

JmsBinding assumes endpoint can't be null, but it can

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      CAMEL-13750 introduces a change checking the endpoint in JmsBinding:

      if (headerName.equals("JMSCorrelationID") && !endpoint.isUseMessageIDAsCorrelationID()) {
      

      As endpoint can be null (for instance if you just do new JmsBinding()), this change is wrong as it can throw NullPointerException.

      I'm fixing.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m