<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jee="http://www.springframework.org/schema/jee"
       xmlns:util="http://www.springframework.org/schema/util"
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">

    <jee:jndi-lookup id="apple" jndi-name="fruit/apple" environment-ref="jndiEnv"/>

    <jee:jndi-lookup id="orange" jndi-name="fruit/orange" environment-ref="jndiEnv"/>

    <util:properties id="jndiEnv">
        <prop key="java.naming.factory.initial">org.mule.tck.jndi.TestContextFactory</prop>
    </util:properties>

</beans>