Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Update to the Apollo 1.3 release. Also install the MQTT plugin by default. #12408

wants to merge 1 commit into from

3 participants


No description provided.


Tested this Formula today. It's great for a fresh install, but for an upgrade there are a couple of issues:

  • the previous version suggested the use of sudo to run the broker - so the files under /usr/local/var/apollo have the wrong permissions for the regular user to run the broker.
  • you need to create a new broker in order to get the 1.3 function - even after the permissions were fixed, the broker started as a 1.2 broker. Perhaps this is something that an Apollo / ActiveMQ admin or developer natively understands.

In both cases, after deleting the old broker and re-creating it with the 1.3 binary, I had no issues.

It could be that the migration steps should be explained in the output at the end of the brew install / upgrade. It is definitely nice not to run as root with the new release.


@andypiper will accept another patch that udpates the caveats; I don't use this software myself to know what to suggest.


Pulled, thanks.

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 30 additions and 7 deletions.
  1. +30 −7 Library/Formula/apollo.rb
37 Library/Formula/apollo.rb
@@ -7,18 +7,41 @@ class BerkeleyDbJe < Formula
md5 '09fa2cb8431bb4ca5a0a0f83d3d57ed0'
+class FuseMQApolloMQTT < Formula
+ homepage ''
+ url ""
+ version '1.2'
+ md5 '73ec840bdff182f4bbd8f9e8a60e4af4'
class Apollo < Formula
homepage ''
- url ""
- version "1.2"
- md5 '3c74a4070975a6da73653502d647658c'
+ url ""
+ version "1.3"
+ md5 '13759c529b238731ebea269254a840b9'
+ def options
+ [
+ ["--no-bdb", "Install without bdb store support."],
+ ["--no-mqtt", "Install without MQTT protocol support."]
+ ]
+ end
def install
prefix.install %w{ LICENSE NOTICE readme.html docs examples }
libexec.install Dir['*']
- do
- (libexec+"lib").install Dir['*.jar']
+ unless ARGV.include? "--no-bdb"
+ do
+ (libexec+"lib").install Dir['*.jar']
+ end
+ end
+ unless ARGV.include? "--no-mqtt"
+ do
+ (libexec+"lib").install Dir['*.jar']
+ end
(bin+'apollo').write <<-EOS.undent
@@ -32,7 +55,7 @@ def install
def caveats; <<-EOS.undent
To create the broker:
- #{bin}/apollo create #{var}/apollo
+ #{bin}/apollo create #{var}/apollo
If this is your first install, automatically load on login with:
mkdir -p ~/Library/LaunchAgents
@@ -45,7 +68,7 @@ def caveats; <<-EOS.undent
launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
Or to start the broker in the foreground run:
- sudo #{var}/apollo/bin/apollo-broker run
+ #{var}/apollo/bin/apollo-broker run
Something went wrong with that request. Please try again.