[ https://issues.apache.org/jira/browse/CXF-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632192#action_12632192 ]
Ulhas Bhole commented on CXF-1805: ---------------------------------- Hi Seumas, The problem is appearing due to copying of PROTOCOL_HEADERS on the JMS Message. I will change the things to use JMS_content_type and do the translations while adding/retrieving the Content-Type Header. -- Ulhas Bhole > Use of Content-Type in JMS Header not in line with JMS specification > -------------------------------------------------------------------- > > Key: CXF-1805 > URL: https://issues.apache.org/jira/browse/CXF-1805 > Project: CXF > Issue Type: Bug > Components: Transports > Affects Versions: 2.1.2 > Reporter: Seumas Soltysik > Assignee: Ulhas Bhole > Priority: Blocker > > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.