Author: alessio.soldano(a)jboss.com
Date: 2009-09-15 10:46:05 -0400 (Tue, 15 Sep 2009)
New Revision: 10696
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java
Log:
[JBWS-2753] Updating RMChannelTask too
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java 2009-09-15
14:46:04 UTC (rev 10695)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/wsrm/transport/RMChannelTask.java 2009-09-15
14:46:05 UTC (rev 10696)
@@ -77,14 +77,15 @@
Map<String, Object> callProps = new HashMap<String, Object>();
callProps.putAll(rmRequest.getMetadata().getContext(RMChannelConstants.INVOCATION_CONTEXT));
+ MessageTrace.traceMessage("Outgoing RM Response Message",
rmRequest.getPayload());
RMMessage rmResponse = null;
if (oneWay && (null == backPort))
{
- client.invoke(rmRequest.getPayload(), targetAddress, false,
additionalHeaders, callProps);
+ client.invoke(rmRequest.getPayload(), targetAddress, true, additionalHeaders,
callProps);
}
else
{
- Object retVal = client.invoke(rmRequest.getPayload(), targetAddress, true,
additionalHeaders, callProps);
+ Object retVal = client.invoke(rmRequest.getPayload(), targetAddress, false,
additionalHeaders, callProps);
if ((null != retVal) && (false == (retVal instanceof RMMessage)))
{
String msg = retVal.getClass().getName() + ": '" + retVal +
"'";
Show replies by date