ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jal...@apache.org
Subject svn commit: r366052 - /webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/server/RMMessageProcessorIdentifier.java
Date Thu, 05 Jan 2006 01:45:51 GMT
Author: jaliya
Date: Wed Jan  4 17:45:43 2006
New Revision: 366052

URL: http://svn.apache.org/viewcvs?rev=366052&view=rev
Log:
bug fix 

Modified:
    webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/server/RMMessageProcessorIdentifier.java

Modified: webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/server/RMMessageProcessorIdentifier.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/server/RMMessageProcessorIdentifier.java?rev=366052&r1=366051&r2=366052&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/server/RMMessageProcessorIdentifier.java
(original)
+++ webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/server/RMMessageProcessorIdentifier.java
Wed Jan  4 17:45:43 2006
@@ -54,9 +54,12 @@
                 return new CompositeProcessor(storageManager);
             } else
                 return new FaultProcessor(storageManager);
-        } else if (rmHeaders.getSequenceAcknowledgement() != null ||
-                rmHeaders.getSequence().getMessageNumber() != null) {
-            return new CompositeProcessor(storageManager);
+        } else if (rmHeaders != null) {
+            if (rmHeaders.getSequenceAcknowledgement() != null ||
+                    rmHeaders.getSequence().getMessageNumber() != null) {
+                return new CompositeProcessor(storageManager);
+            } else
+                return new FaultProcessor(storageManager);
         } else
             return new FaultProcessor(storageManager);
     }



---------------------------------------------------------------------
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