日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

mac中安装activeMQ

發布時間:2023/12/15 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mac中安装activeMQ 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.


一貫地,使用brew來幫忙。現在brew中添加了activeMQ了。


執行:

?brew install activemq


OK.

看看是否安裝成功,輸入命令: activemq

INFO: Loading '/usr/local/Cellar/activemq/5.11.1/libexec/bin/env'

INFO: Using java '/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java'

Java Runtime: Oracle Corporation 1.8.0_31 /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre

? Heap sizes: current=1005056k? free=989327k? max=1005056k

? ? JVM args: -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/usr/local/Cellar/activemq/5.11.1/libexec/conf/login.config -Dactivemq.classpath=/usr/local/Cellar/activemq/5.11.1/libexec/conf: -Dactivemq.home=/usr/local/Cellar/activemq/5.11.1/libexec -Dactivemq.base=/usr/local/Cellar/activemq/5.11.1/libexec -Dactivemq.conf=/usr/local/Cellar/activemq/5.11.1/libexec/conf -Dactivemq.data=/usr/local/Cellar/activemq/5.11.1/libexec/data

Extensions classpath:

? [/usr/local/Cellar/activemq/5.11.1/libexec/lib,/usr/local/Cellar/activemq/5.11.1/libexec/lib/camel,/usr/local/Cellar/activemq/5.11.1/libexec/lib/optional,/usr/local/Cellar/activemq/5.11.1/libexec/lib/web,/usr/local/Cellar/activemq/5.11.1/libexec/lib/extra]

ACTIVEMQ_HOME: /usr/local/Cellar/activemq/5.11.1/libexec

ACTIVEMQ_BASE: /usr/local/Cellar/activemq/5.11.1/libexec

ACTIVEMQ_CONF: /usr/local/Cellar/activemq/5.11.1/libexec/conf

ACTIVEMQ_DATA: /usr/local/Cellar/activemq/5.11.1/libexec/data

Usage: /usr/local/Cellar/activemq/5.11.1/libexec/bin/activemq [--extdir <dir>] [task] [task-options] [task data]


Tasks:

? ? browse ? ? ? ? ? ? ? ? ? - Display selected messages in a specified destination.

? ? bstat? ? ? ? ? ? ? ? ? ? - Performs a predefined query that displays useful statistics regarding the specified broker

? ? create ? ? ? ? ? ? ? ? ? - Creates a runnable broker instance in the specified path.

? ? decrypt? ? ? ? ? ? ? ? ? - Decrypts given text

? ? dstat? ? ? ? ? ? ? ? ? ? - Performs a predefined query that displays useful tabular statistics regarding the specified destination type

? ? encrypt? ? ? ? ? ? ? ? ? - Encrypts given text

? ? export ? ? ? ? ? ? ? ? ? - Exports a stopped brokers data files to an archive file

? ? list ? ? ? ? ? ? ? ? ? ? - Lists all available brokers in the specified JMX context

? ? purge? ? ? ? ? ? ? ? ? ? - Delete selected destination's messages that matches the message selector

? ? query? ? ? ? ? ? ? ? ? ? - Display selected broker component's attributes and statistics.

? ? start? ? ? ? ? ? ? ? ? ? - Creates and starts a broker using a configuration file, or a broker URI.

? ? stop ? ? ? ? ? ? ? ? ? ? - Stops a running broker specified by the broker name.


Task Options (Options specific to each task):

? ? --extdir <dir>? - Add the jar files in the directory to the classpath.

? ? --version ? ? ? - Display the version information.

? ? -h,-?,--help? ? - Display this help information. To display task specific help, use Main [task] -h,-?,--help


Task Data:

? ? - Information needed by each specific task.


JMX system property options:

? ? -Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')

? ? -Dactivemq.jmx.user=<user name>

? ? -Dactivemq.jmx.password=<password>



Tasks provided by the sysv init script:

? ? restart ? ? ? ? - stop running instance (if there is one), start new instance

? ? console ? ? ? ? - start broker in foreground, useful for debugging purposes

? ? status? ? ? ? ? - check if activemq process is running


Configuration of this script:

The configuration of this script is read from the following files:

/etc/default/activemq /Users/shentianping/.activemqrc /usr/local/Cellar/activemq/5.11.1/libexec/bin/env

? ? This script searches for the files in the listed order and reads the first available file.

? ? Modify /usr/local/Cellar/activemq/5.11.1/libexec/bin/env or create a copy of that file on a suitable location.


? ? To use additional configurations for running multiple instances on the same operating system

? ? rename or symlink script to a name matching to activemq-instance-<INSTANCENAME>.

? ? This changes the configuration location to /etc/default/activemq-instance-<INSTANCENAME> and

? ? $HOME/.activemqrc-instance-<INSTANCENAME>.



啟動activeMQ服務,執行

activemq start


然后就可以訪問管理web console。在瀏覽器中輸入url:?http://localhost:8161/




總結

以上是生活随笔為你收集整理的mac中安装activeMQ的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。