Author: gatfora
Date: Wed Dec 20 02:19:55 2006
New Revision: 489014

URL: http://svn.apache.org/viewvc?view=rev&rev=489014
Log:
Enable rmSpecVersion to be set by a value set in the AxisOperation

Modified:
    
webservices/sandesha/trunk/java/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java

Modified: 
webservices/sandesha/trunk/java/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java?view=diff&rev=489014&r1=489013&r2=489014
==============================================================================
--- 
webservices/sandesha/trunk/java/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
 (original)
+++ 
webservices/sandesha/trunk/java/src/org/apache/sandesha2/msgprocessors/ApplicationMsgProcessor.java
 Wed Dec 20 02:19:55 2006
@@ -302,6 +302,11 @@
                } else {
                        // in the client side, user will set the RM version.
                        specVersion = (String) 
msgContext.getProperty(SandeshaClientConstants.RM_SPEC_VERSION);
+                       
+                       // If the spec version is null, look in the axis 
operation to see value has been set
+                       if (specVersion == null && 
msgContext.getAxisOperation().getParameter(SandeshaClientConstants.RM_SPEC_VERSION)
 != null) 
+                               specVersion = (String) 
msgContext.getAxisOperation().getParameter(SandeshaClientConstants.RM_SPEC_VERSION).getValue();
                                          
+                       
                }
 
                if (specVersion == null)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to