Author: chamikara
Date: Tue May 15 20:51:06 2007
New Revision: 538420

URL: http://svn.apache.org/viewvc?view=rev&rev=538420
Log:
A bug fix - to support SMTP transport

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?view=diff&rev=538420&r1=538419&r2=538420
==============================================================================
--- 
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
 Tue May 15 20:51:06 2007
@@ -147,7 +147,7 @@
                        // If we are anonymous, and this is not a 
makeConnection, then we must have a transport waiting
                        if((toEPR==null || toEPR.hasAnonymousAddress()) &&
                           (makeConnection == null || 
!makeConnection.booleanValue()) &&
-                          (t == null || 
!t.getStatus().equals(RequestResponseTransportStatus.WAITING))) {
+                          (t != null && 
!t.getStatus().equals(RequestResponseTransportStatus.WAITING))) {
                                
                                // Mark this sender bean so that we know that 
the transport is unavailable, if the
                                // bean is still stored.



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

Reply via email to