This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use standalone activemq in claw_vagrant; Resolves Islandora/documenta…
…tion#660 (#46) * Adds a standalone ActiveMQ installation * Updates Fedora to use external ActiveMQ * Adds some documentation * Cleans up some cruft I noticed
- Loading branch information
Showing
10 changed files
with
64 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:amq="http://activemq.apache.org/schema/core" | ||
xmlns:context="http://www.springframework.org/schema/context" | ||
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://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd | ||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"> | ||
|
||
<context:property-placeholder/> | ||
|
||
<!-- | ||
The <broker> element is used to configure the ActiveMQ broker. | ||
--> | ||
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost"> | ||
<networkConnectors> | ||
<networkConnector name="fedora_bridge" dynamicOnly="true" uri="static:(tcp://localhost:61616)"> | ||
<dynamicallyIncludedDestinations> | ||
<topic physicalName="fedora"/> | ||
<queue physicalName="fedora"/> | ||
</dynamicallyIncludedDestinations> | ||
</networkConnector> | ||
</networkConnectors> | ||
</broker> | ||
</beans> |
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
echo "Installing ActiveMQ" | ||
|
||
HOME_DIR=$1 | ||
|
||
if [ -f "$HOME_DIR/islandora/configs/variables" ]; then | ||
. "$HOME_DIR"/islandora/configs/variables | ||
fi | ||
|
||
if [ ! -f "$DOWNLOAD_DIR/apache-activemq-$ACTIVEMQ_VERSION-bin.tar.gz" ]; then | ||
echo "Downloading ActiveMQ" | ||
wget -q -O "$DOWNLOAD_DIR/apache-activemq-$ACTIVEMQ_VERSION-bin.tar.gz" "http://archive.apache.org/dist/activemq/5.14.5/apache-activemq-$ACTIVEMQ_VERSION-bin.tar.gz" | ||
fi | ||
|
||
cp "$DOWNLOAD_DIR/apache-activemq-$ACTIVEMQ_VERSION-bin.tar.gz" /tmp | ||
tar -xzf "$DOWNLOAD_DIR/apache-activemq-$ACTIVEMQ_VERSION-bin.tar.gz" -C /opt | ||
mv /opt/apache-activemq-$ACTIVEMQ_VERSION /opt/activemq | ||
chown -hR ubuntu:ubuntu /opt/activemq | ||
/opt/activemq/bin/activemq start |
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
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
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