camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r671232 - /activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml
Date Tue, 24 Jun 2008 16:22:51 GMT
Author: jstrachan
Date: Tue Jun 24 09:22:50 2008
New Revision: 671232

URL: http://svn.apache.org/viewvc?rev=671232&view=rev
Log:
fixed the failing example

Modified:
    activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml

Modified: activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml?rev=671232&r1=671231&r2=671232&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml
(original)
+++ activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml
Tue Jun 24 09:22:50 2008
@@ -22,7 +22,7 @@
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
        http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
 
-  <camelContext id="camel" useJmx="true" mbeanServer="mbeanServer"
+  <camelContext id="camel"
                 xmlns="http://activemq.apache.org/camel/schema/spring">
     <package>org.apache.camel.example.spring</package>
   </camelContext>
@@ -36,23 +36,4 @@
     </property>
   </bean>
 
-  <!--
-    this bean needs to be eagerly pre-instantiated in order for the exporting to occur;
-    this means that it must not be marked as lazily initialized
-  -->
-  <bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean">
-    <property name="defaultDomain" value="org.apache.camel.test"/>
-  </bean>
-  <bean id="registry" class="org.springframework.remoting.rmi.RmiRegistryFactoryBean">
-    <property name="port" value="1099"/>
-  </bean>
-  <bean id="serverConnector"
-        class="org.springframework.jmx.support.ConnectorServerFactoryBean" depends-on="registry">
-    <property name="objectName" value="connector:name=rmi"/>
-    <property name="serviceUrl"
-              value="service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi"/>
-    <property name="threaded" value="true"/>
-    <property name="daemon" value="true"/>
-  </bean>
-
 </beans>



Mime
View raw message