Commit in servicemix/base/src/main/java/org/servicemix/jbi/config on MAIN
ComponentElementProcessor.java+3-31.11 -> 1.12
ske

servicemix/base/src/main/java/org/servicemix/jbi/config
ComponentElementProcessor.java 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- ComponentElementProcessor.java	2 Aug 2005 17:05:17 -0000	1.11
+++ ComponentElementProcessor.java	4 Aug 2005 16:08:21 -0000	1.12
@@ -33,7 +33,7 @@
 /**
  * Handles the 'component' element
  *
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
  */
 public class ComponentElementProcessor extends QNameElementProcessor implements ElementProcessor {
 
@@ -80,9 +80,9 @@
             }
         }
         String destinationEndpoint = element.getAttribute("destinationEndpoint");
-        if (endpoint != null) {
+        if (destinationEndpoint != null) {
             element.removeAttribute("destinationEndpoint");
-            if (endpoint.length() > 0) {
+            if (destinationEndpoint.length() > 0) {
                 addPropertyElement(registration, "destinationEndpoint", destinationEndpoint);
             }
         }
CVSspam 0.2.8



Reply via email to