Created
September 27, 2013 10:32
-
-
Save cmoulliard/6726722 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" | |
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0" | |
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" | |
xmlns:amq="http://activemq.apache.org/schema/core"> | |
<manifest> | |
Export-Service = javax.jms.ConnectionFactory | |
</manifest> | |
<!-- Allows us to use system properties as variables in this configuration file --> | |
<ext:property-placeholder /> | |
<bean id="activemqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> | |
<property name="brokerURL" value="tcp://localhost:61616" /> | |
<property name="userName" value="admin"/> | |
<property name="password" value="admin"/> | |
</bean> | |
<bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory"> | |
<property name="maxConnections" value="8" /> | |
<property name="connectionFactory" ref="activemqConnectionFactory" /> | |
</bean> | |
<reference id="transactionManager" interface="javax.transaction.TransactionManager" /> | |
<service ref="pooledConnectionFactory" interface="javax.jms.ConnectionFactory"> | |
<service-properties> | |
<entry key="name" value="localhost"/> | |
</service-properties> | |
</service> | |
</blueprint> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mustafa Özcan
Kişisel Blog makalelerimi SEO konusundaki deneyimleri paylaştığım blogum.Fırsatları ayağınıza getiren mustafa ozcan blog kişisel temalı yazılar ile gündemde yer alan güncel yazıları sizlere sunma fırsatı ile.