public interface MavenBrokerManager
| Modifier and Type | Method and Description |
|---|---|
org.apache.activemq.broker.BrokerService |
getBroker()
Return the broker service created.
|
void |
setBroker(org.apache.activemq.broker.BrokerService broker)
Set the broker service managed to the one given.
|
void |
start(boolean fork,
String configUri)
Start the broker using the fork setting and configuration at the given URI.
|
void |
stop()
Stop the broker.
|
void start(boolean fork,
String configUri)
throws org.apache.maven.plugin.MojoExecutionException
fork - true => run the broker asynchronously; false => run the broker synchronously (this method does not
return until the broker shuts down)configUri - URI of the broker configuration; prefix with "xbean:file" to read XML configuration from a file.org.apache.maven.plugin.MojoExecutionExceptionvoid stop()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.activemq.broker.BrokerService getBroker()
void setBroker(org.apache.activemq.broker.BrokerService broker)
broker - activemq instance to manage.Copyright © 2015. All rights reserved.