From: <rb...@yp...> - 2007-08-13 14:54:36
|
Hello, I was wondering if it was possible to define an OpenJMS connectionFactory entirely from Spring's applicationContext.xml file without jndi. the given way to get a connection factory from spring is by using this kind of bean definition : <bean id="jmsConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName"> <value>ConnectionFactory</value> </property> </bean> which relies on jndi. I'm looking for a way that would look like activeMQ's exemple : <bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> <property name="brokerURL" value="tcp://localhost:61616"/> </bean> looking at OpenJMS's ConnectionFactoryClass I haven't found any obvious way of doing that. so I'm looking for any informations about this subject thanks a lot, Bériot Remy |