-
-
Save brmeyer/83eb2768a3e18cdeec20 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
<beans | |
xmlns="http://www.springframework.org/schema/beans" | |
xmlns:amq="http://activemq.apache.org/schema/core" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd | |
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"> | |
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/> | |
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="/home/brmeyer/activemqdata"> | |
<persistenceFactory> | |
<kahaDB directory="/home/brmeyer/activemqdata/kahadb" /> | |
</persistenceFactory> | |
<transportConnectors> | |
<transportConnector uri="tcp://0.0.0.0:61616" /> | |
</transportConnectors> | |
</broker> | |
</beans> |
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
<ResourceLink global="ConnectionFactory" name="ConnectionFactory"/> | |
<ResourceLink global="sramp/events/topic" name="sramp/events/topic"/> |
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
<GlobalNamingResources> | |
... | |
<Resource physicalName="SRAMPTopic" factory="org.apache.activemq.jndi.JNDIReferenceFactory" type="org.apache.activemq.command.ActiveMQTopic" auth="Container" name="sramp/events/topic"/> | |
<Resource auth="Container" | |
name="ConnectionFactory" | |
type="org.apache.activemq.ActiveMQConnectionFactory" | |
description="JMS Connection Factory" | |
factory="org.apache.activemq.jndi.JNDIReferenceFactory" | |
brokerURL="vm://localhost?brokerConfig=xbean:activemq.xml" | |
brokerName="MyActiveMQBroker" | |
useEmbeddedBroker="true"/> | |
</GlobalNamingResources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment