activemq 1.0.0

Download zip

class: ActiveMqBroker

[31:14] (extern: com.lehman.aussom.ActiveMqBroker) extends: object

Embedded ActiveMQ broker. Runs entirely in memory by default; call setPersistent(true) and setDataDirectory() to keep messages in a KahaDB store on disk. Clients in this JVM connect with getVmUrl(); addConnector() opens TCP ports for outside clients. If a broker with the same name is already running in this JVM (for example after an app hot reload), start() attaches to it instead of starting a second instance, and configuration setters are ignored with a logged warning. stop() stops the shared instance.

Methods