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

JMS correlationIdAsBytes should return null and not byte array with zero values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.18.0
    • 2.17.4, 2.18.1, 2.19.0
    • camel-jms
    • None
    • Unknown

    Description

      When a JMS broker send a null JMSCorrelationId and a byte array full of zero for JMSCorrelationIdAsBytes it creates issues with the hawtio webconsole as this byte array is dump in an XML that no one can parse.

      Therefore I think it could be usefull to return null when we receive a bytearray full of 0.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              gterral Terral Guillaume
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: