Author: amilas
Date: Wed Apr 1 08:49:53 2009
New Revision: 760817
URL: http://svn.apache.org/viewvc?rev=760817&view=rev
Log:
should get the message type using the response message context. this gives an
excpetion when using with
security.
Modified:
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
Modified:
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java?rev=760817&r1=760816&r2=760817&view=diff
==============================================================================
---
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
(original)
+++
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
Wed Apr 1 08:49:53 2009
@@ -623,7 +623,7 @@
//we will not be setting the operation context
here since this msgs may not be an application reply.
//we let other dispatchers find it.
- int messageType =
MsgInitializer.initializeMessage(msgCtx).getMessageType();
+ int messageType =
MsgInitializer.initializeMessage(responseMessageContext).getMessageType();
RMMsgContext responseRMMessage =
MsgInitializer.initializeMessage(responseMessageContext);
int responseMessageType =
responseRMMessage.getMessageType();
if(log.isDebugEnabled())
log.debug("inboundMsgType" + responseMessageType + "outgoing message type " +
messageType);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]