You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/08/16 08:48:02 UTC
svn commit: r431845 - in
/incubator/servicemix/trunk/servicemix-components/src/test/resources:
jndi.properties jndi.xml
Author: gnodet
Date: Tue Aug 15 23:48:02 2006
New Revision: 431845
URL: http://svn.apache.org/viewvc?rev=431845&view=rev
Log:
Use a rw jndi
Added:
incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.xml
Modified:
incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.properties
Modified: incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.properties
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.properties?rev=431845&r1=431844&r2=431845&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.properties (original)
+++ incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.properties Tue Aug 15 23:48:02 2006
@@ -1,28 +1,6 @@
# START SNIPPET: jndi
-java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
-
-# use the following property to configure the default connector
-java.naming.provider.url = tcp://localhost:61626
-
-# use the following property to embed a broker inside this JVM
-#useEmbeddedBroker = true
-
-# use the following property to specify a class path resource or URL
-# used to configure an embedded broker using the XML configuration file
-#brokerXmlConfig = file:src/conf/sample-conf/default.xml
-
-# use the following property to specify the JNDI name the connection factory
-# should appear as.
-#connectionFactoryNames = connectionFactory, queueConnectionFactory, topicConnectionFactry
-
-# register some queues in JNDI using the form
-# queue.[jndiName] = [physicalName]
-queue.MyQueue = example.MyQueue
-
-
-# register some topics in JNDI using the form
-# topic.[jndiName] = [physicalName]
-topic.MyTopic = example.MyTopic
+java.naming.factory.initial = org.apache.xbean.spring.jndi.SpringInitialContextFactory
+java.naming.provider.url = jndi.xml
# END SNIPPET: jndi
Added: incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.xml?rev=431845&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.xml (added)
+++ incubator/servicemix/trunk/servicemix-components/src/test/resources/jndi.xml Tue Aug 15 23:48:02 2006
@@ -0,0 +1,11 @@
+<beans>
+ <bean id="jndi"
+ class="org.apache.xbean.spring.jndi.SpringInitialContextFactory"
+ factory-method="makeInitialContext"
+ singleton="true">
+ <property name="entries">
+ <map>
+ </map>
+ </property>
+ </bean>
+</beans>
\ No newline at end of file