servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r415298 - in /incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl: JbiElementProcessor.java JbiNamespaceProcessor.java
Date Mon, 19 Jun 2006 11:46:23 GMT
Author: gnodet
Date: Mon Jun 19 04:46:22 2006
New Revision: 415298

URL: http://svn.apache.org/viewvc?rev=415298&view=rev
Log:
SM-456: support multiple 'consumes' and 'provides' in a JBI XML descriptor
Patch provided by Hossam Karim

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiElementProcessor.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiNamespaceProcessor.java

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiElementProcessor.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiElementProcessor.java?rev=415298&r1=415297&r2=415298&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiElementProcessor.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiElementProcessor.java
Mon Jun 19 04:46:22 2006
@@ -57,6 +57,8 @@
         moveToProperyListElement(bean, "path-element", "pathElements");
         moveToProperyListElement(bean, "service-unit", "serviceUnits");        
         moveToProperyListElement(bean, "connection", "connections");        
+        moveToProperyListElement(bean, "provides", "provides");        
+        moveToProperyListElement(bean, "consumes", "consumes");        
 
         processChildren(compositeProcessor, bean, beanDefinitionReader);
         

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiNamespaceProcessor.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiNamespaceProcessor.java?rev=415298&r1=415297&r2=415298&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiNamespaceProcessor.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/impl/JbiNamespaceProcessor.java
Mon Jun 19 04:46:22 2006
@@ -55,12 +55,12 @@
 		registerBeanProcessor("connection", Connection.class);
 		registerBeanPropertyProcessor("connections", Connections.class);
 		registerBeanPropertyProcessor("consumer", Consumer.class);
-		registerBeanPropertyProcessor("consumes", Consumes.class);
+        registerBeanProcessor("consumes", Consumes.class);
 		registerBeanPropertyProcessor("identification", Identification.class);
 		registerBeanProcessor("jbi", Descriptor.class);
 		registerValueAlias("path-element");
 		registerBeanPropertyProcessor("provider", Provider.class);
-		registerBeanPropertyProcessor("provides", Provides.class);
+        registerBeanProcessor("provides", Provides.class);
 		registerBeanPropertyProcessor("service-assembly", ServiceAssembly.class);
 		registerBeanPropertyProcessor("services", Services.class);
 		registerBeanProcessor("service-unit", ServiceUnit.class);



Mime
View raw message