Author: heiko.braun(a)jboss.com
Date: 2007-03-09 07:24:06 -0500 (Fri, 09 Mar 2007)
New Revision: 2568
Modified:
trunk/jbossws-core/src/java/org/jboss/ws/core/soap/SOAPContentElement.java
Log:
Fix JMSTransport issue with binary types
Modified: trunk/jbossws-core/src/java/org/jboss/ws/core/soap/SOAPContentElement.java
===================================================================
--- trunk/jbossws-core/src/java/org/jboss/ws/core/soap/SOAPContentElement.java 2007-03-09
12:23:38 UTC (rev 2567)
+++ trunk/jbossws-core/src/java/org/jboss/ws/core/soap/SOAPContentElement.java 2007-03-09
12:24:06 UTC (rev 2568)
@@ -528,7 +528,10 @@
public void writeElement(Writer writer) throws IOException
{
- handleMTOMTransitions();
+ // JMS transport hot fix
+ // Can be removed once we got a immutabe object model
+ if(MessageContextAssociation.peekMessageContext()!=null)
+ handleMTOMTransitions();
if (soapContent instanceof DOMContent)
{
Show replies by date