<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="eager">
  
    <bean id="ConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
        <property name="brokerURL" value="tcp://localhost:61616" />
        <property name="trustedPackages">
          <list>
            <value>java.util</value>
            <value>org.switchyard.security.credential</value>
            <value>org.switchyard.quickstarts.demo.security.propagation.jms</value>
            <value>org.switchyard.quickstarts.demo.security.propagation.jms.security</value>
          </list>
        </property>
        <property name="userName" value="karaf" />
        <property name="password" value="karaf" />
    </bean>  

    <service interface="javax.jms.ConnectionFactory" ref="ConnectionFactory">
        <service-properties>
            <entry key="name" value="ConnectionFactory"/>
            <entry key="osgi.jndi.service.name" value="ConnectionFactory"/>
        </service-properties>
    </service>

</blueprint>
