camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiunjiunma <jiunjiu...@gmail.com>
Subject Re: Is Spring ActiveProfiles annotation supported in camel test 2.10?
Date Tue, 16 Oct 2012 22:25:05 GMT
Oops, the embed doesn't seem to be working, repost the app context snippet as
follows:


    
    <beans profile="test">
        <broker:broker useJmx="false" persistent="false"
brokerName="localhost">
            <broker:transportConnectors>
                <broker:transportConnector name="tcp"
uri="tcp://localhost:61616"/>
            </broker:transportConnectors>
        </broker:broker>

        <bean id="jmsConnectionFactory"
               class="org.apache.activemq.ActiveMQConnectionFactory">
               <property name="brokerURL" value="tcp://localhost:61616" />
        </bean>
    </beans>

    <beans profile="production">
        <bean id="jmsConnectionFactory"
              class="org.apache.activemq.ActiveMQConnectionFactory">
            <property name="brokerURL" value="tcp://localhost:61616" />
        </bean>
    </beans>




--
View this message in context: http://camel.465427.n5.nabble.com/Is-Spring-ActiveProfiles-annotation-supported-in-camel-test-2-10-tp5721145p5721146.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message