ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r585621 - /ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
Date Wed, 17 Oct 2007 18:25:42 GMT
Author: vanto
Date: Wed Oct 17 11:25:41 2007
New Revision: 585621

URL: http://svn.apache.org/viewvc?rev=585621&view=rev
Log:
fixes ODE-197

Modified:
    ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java

Modified: ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java?rev=585621&r1=585620&r2=585621&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
(original)
+++ ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
Wed Oct 17 11:25:41 2007
@@ -418,8 +418,10 @@
             }
 
             if (pl.hasPartnerRole()) {
-                PartnerLinkPartnerRoleImpl partnerRole = new PartnerLinkPartnerRoleImpl(this,
pl, _pconf.getInvokeEndpoints().get(
-                        pl.getName()));
+            	Endpoint endpoint = _pconf.getInvokeEndpoints().get(pl.getName());
+                if (endpoint == null)
+                    throw new IllegalArgumentException(pl.getName() + " must be bound to
an endpoint in deloy.xml");
+                PartnerLinkPartnerRoleImpl partnerRole = new PartnerLinkPartnerRoleImpl(this,
pl, endpoint);
                 _partnerRoles.put(pl, partnerRole);
             }
         }



Mime
View raw message