ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chamik...@apache.org
Subject svn commit: r366397 - in /webservices/sandesha/trunk: src/org/apache/sandesha2/ src/org/apache/sandesha2/handlers/ src/org/apache/sandesha2/util/ src/org/apache/sandesha2/workers/ test/src/org/apache/sandesha2/
Date Fri, 06 Jan 2006 02:53:40 GMT
Author: chamikara
Date: Thu Jan  5 18:51:22 2006
New Revision: 366397

URL: http://svn.apache.org/viewcvs?rev=366397&view=rev
Log:
Fixed the build (was failing due to some refactoring of Axis2)

Modified:
    webservices/sandesha/trunk/src/org/apache/sandesha2/Sandesha2Constants.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java
    webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java
    webservices/sandesha/trunk/test/src/org/apache/sandesha2/SandeshaTestCase.java

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/Sandesha2Constants.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/Sandesha2Constants.java?rev=366397&r1=366396&r2=366397&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/Sandesha2Constants.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/Sandesha2Constants.java Thu Jan  5
18:51:22 2006
@@ -300,7 +300,7 @@
 
 	String GLOBAL_IN_HANDLER_NAME = "GlobalInHandler";
 
-	String APPLICATION_PROCESSING_DONE = "AppProcessingDone";
+	String APPLICATION_PROCESSING_DONE = "Sandesha2AppProcessingDone";
 
 	String ACK_WRITTEN = "AckWritten";
 
@@ -317,8 +317,6 @@
 	String ACK_PROCSSED = "AckProcessed";
 
 	String RM_ENABLE_KEY = "RMEnabled";
-
-	//String STORAGE_MANAGER_IMPL = "org.apache.sandesha2.storage.inmemory.InMemoryStorageManager";
 
 	int MAXIMUM_RETRANSMISSION_ATTEMPTS = 5;
 	

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java?rev=366397&r1=366396&r2=366397&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/handlers/SandeshaOutHandler.java Thu
Jan  5 18:51:22 2006
@@ -340,7 +340,6 @@
 
 		//pausing the message
 		msgCtx.pause();
-		//rmMsgCtx.getMessageContext().setPausedTrue(new QName (Sandesha2Constants.OUT_HANDLER_NAME));
 		
 		transaction.commit();
 	}

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java?rev=366397&r1=366396&r2=366397&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/util/SandeshaUtil.java Thu Jan  5
18:51:22 2006
@@ -481,7 +481,8 @@
 					.getConfigurationContext();
 			AxisConfiguration axisConfiguration = configContext.getAxisConfiguration();
 			
-			MessageContext newMessageContext = new MessageContext(configContext);
+			MessageContext newMessageContext = new MessageContext();
+			newMessageContext.setConfigurationContext(configContext);
 
 			if (referenceMessage.getAxisServiceGroup() != null) {
 				newMessageContext.setAxisServiceGroup(referenceMessage

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java?rev=366397&r1=366396&r2=366397&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/workers/Sender.java Thu Jan  5 18:51:22
2006
@@ -294,9 +294,12 @@
 			
 			//we never expect sync responses. so we can freely create a new operation context for
the incoming RM Specific message.
 	        // create the responseMessageContext
-	        MessageContext responseMessageContext = new MessageContext(msgCtx.getConfigurationContext(),
-	        		msgCtx.getSessionContext(), msgCtx.getTransportIn(),
-	        		msgCtx.getTransportOut());
+
+			MessageContext responseMessageContext = new MessageContext();
+			responseMessageContext.setConfigurationContext(msgCtx.getConfigurationContext());
+			responseMessageContext.setSessionContext(msgCtx.getSessionContext());
+			responseMessageContext.setTransportIn(msgCtx.getTransportIn());
+			responseMessageContext.setTransportOut(msgCtx.getTransportOut());
 
 	        responseMessageContext.setProperty(MessageContext.TRANSPORT_IN,
 	        		msgCtx.getProperty(MessageContext.TRANSPORT_IN));

Modified: webservices/sandesha/trunk/test/src/org/apache/sandesha2/SandeshaTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/SandeshaTestCase.java?rev=366397&r1=366396&r2=366397&view=diff
==============================================================================
--- webservices/sandesha/trunk/test/src/org/apache/sandesha2/SandeshaTestCase.java (original)
+++ webservices/sandesha/trunk/test/src/org/apache/sandesha2/SandeshaTestCase.java Thu Jan
 5 18:51:22 2006
@@ -77,7 +77,8 @@
     private MessageContext getMessageContext() throws Exception{
         AxisConfiguration axisConfig = new AxisConfiguration ();
         ConfigurationContext configCtx = new ConfigurationContext(axisConfig);
-        MessageContext msgCtx = new MessageContext(configCtx);
+        MessageContext msgCtx = new MessageContext();
+        msgCtx.setConfigurationContext(configCtx);
         return msgCtx;
 
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message