Author: lahiru
Date: Fri Nov  9 22:04:09 2012
New Revision: 1407667

URL: http://svn.apache.org/viewvc?rev=1407667&view=rev
Log:
fixing issue during workflow run.

Modified:
    
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java

Modified: 
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java
URL: 
http://svn.apache.org/viewvc/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java?rev=1407667&r1=1407666&r2=1407667&view=diff
==============================================================================
--- 
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java
 (original)
+++ 
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java
 Fri Nov  9 22:04:09 2012
@@ -270,15 +270,15 @@ public class WorkflowInterpretorSkeleton
         ContextHeaderDocument parse = null;
         try {
             parse = 
ContextHeaderDocument.Factory.parse(workflowContext.toStringWithConsume());
-            String msgBox = 
parse.getContextHeader().getWorkflowMonitoringContext().getEventPublishEpr();
+            String msgBox = 
parse.getContextHeader().getWorkflowMonitoringContext().getMsgBoxEpr();
             if(msgBox == null || "".equals(msgBox)){
                 msgBox = 
jcrComponentRegistry.getRegistry().getMessageBoxURI().toASCIIString();
             }
-            String msgBroker = 
parse.getContextHeader().getSoaServiceEprs().getGfacUrl();
+            String msgBroker = 
parse.getContextHeader().getWorkflowMonitoringContext().getEventPublishEpr();
             if(msgBroker == null || "".equals(msgBroker)){
                 msgBroker = 
jcrComponentRegistry.getRegistry().getEventingServiceURI().toASCIIString();
             }
-            String gfac =  
parse.getContextHeader().getWorkflowMonitoringContext().getMsgBoxEpr();
+            String gfac =  
parse.getContextHeader().getSoaServiceEprs().getGfacUrl();
             if(gfac == null || "".equals(gfac)){
                 gfac = 
jcrComponentRegistry.getRegistry().getGFacURIs().get(0).toString();
             }


Reply via email to