[jboss-user] [JBoss Microcontainer Users] - Re: How to inject the result of a JNDI lookup?
swruch
do-not-reply at jboss.com
Wed Sep 9 14:27:33 EDT 2009
Sorry, forgot to quote the XML snippet.
"swruch" wrote :
| Hopefully I haven't missed something obvious, I've been searching for a few hours for the answer to this, to no avail...
|
| In Spring, I would do this:
|
| <property name="connectionFactory">
| | <bean class="org.springframework.jndi.JndiObjectFactoryBean">
| | <property name="jndiName">
| | <value>java:comp/env/jms/ConnectionFactory</value>
| | </property>
| | </bean>
| | </property>
|
| How can I do this in the MC?
|
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254254#4254254
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254254
More information about the jboss-user
mailing list