Thanks Andreas for the reply, I went through the SYANPSE-304, but even
that doesn't give much information to solve our problem.
Asanka A.
Andreas Veithen wrote:
Actually setting the Content-Type header to anything else than
"multipart/related" doesn't have any effect. We are in the process of
redesigning this. See SYNAPSE-304 and
http://cwiki.apache.org/confluence/display/synapse/JMS+Transport+Specifications
for more details. What happens here is that the JMS transport fails to
parse the message as SOAP or POX and falls back to creating a text
wrapper, but I don't see the reason why the SOAP/POX parsing fails.
Andreas