Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1805

Use of Content-Type in JMS Header not in line with JMS specification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.1.2
    • 2.0.9, 2.1.3
    • Transports
    • None

    Description

      It looks like the use of "Content-Type" as a JMS header property is illegal.

      When using the JMS transport with Weblogic, I got the following error:

      Caused by: java.io.IOException: weblogic.jms.common.MessageFormatException: Illegal property name, 'Content-Type'
      at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:263)
      at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167)
      at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)

      After doing some googling I found this: http://www.nabble.com/-jira--Created:-(SYNAPSE-424)-JMS-transport-uses-JMS-properties-in-a-way-that-violates-the-JMS-specifications-td18932701.html

      Dan K also pointed out the following: The SOAP over JMS spec uses the header name: SOAPJMS_contentType

      Attachments

        Activity

          People

            ulhasbhole Ulhas Bhole
            seumassoltysik Seumas Soltysik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: