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

camel-jms - Sending to WebSphereMQ must use specific setBooleanProperty methods to set JMS properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0, 2.3.0
    • 2.3.0
    • camel-jms
    • None

    Description

      This code in JMSBinding

                      // must encode to safe JMS header name before setting property on jmsMessage
                      String key = jmsKeyFormatStrategy.encodeKey(headerName);
                      jmsMessage.setObjectProperty(key, value);
      

      Should detect the value type and use the jmsMessage.setBooleanProperty() and so on. Otherwise IBM thrown an exception.

      See nabble
      http://old.nabble.com/jmsbinding-problem-ts28620489.html

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: