Package com.atlassian.bamboo.amq
Class BambooBrokerService
- java.lang.Object
-
- com.atlassian.bamboo.amq.BambooBrokerService
-
public class BambooBrokerService extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooBrokerService(org.apache.activemq.broker.BrokerService brokerService, BootstrapManager bootstrapManager, KeyStoreFactory keyStoreFactory, SecretEncryptionService secretEncryptionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addStartedConnectors(URI primaryBindAddress)
void
encryptBrokerKeystorePassword()
org.apache.activemq.broker.BrokerService
getBrokerService()
Deprecated.since 5.11 with no replacement@Nullable Certificate
getCertificate()
@NotNull URI
getEndpointForJmsTunnel()
org.apache.activemq.usage.SystemUsage
getSystemUsage()
List<org.apache.activemq.broker.TransportConnector>
getTransportConnectors()
void
removeAllConnectors()
void
start()
-
-
-
Constructor Detail
-
BambooBrokerService
@Inject public BambooBrokerService(org.apache.activemq.broker.BrokerService brokerService, BootstrapManager bootstrapManager, KeyStoreFactory keyStoreFactory, SecretEncryptionService secretEncryptionService)
-
-
Method Detail
-
getCertificate
@Nullable public @Nullable Certificate getCertificate() throws KeyStoreException
- Returns:
- null if the broker does not use SSL or Bamboo does not manage the keystore
- Throws:
KeyStoreException
-
addStartedConnectors
public void addStartedConnectors(URI primaryBindAddress) throws Exception
- Throws:
Exception
-
getEndpointForJmsTunnel
@NotNull public @NotNull URI getEndpointForJmsTunnel()
-
getSystemUsage
public org.apache.activemq.usage.SystemUsage getSystemUsage()
-
getTransportConnectors
public List<org.apache.activemq.broker.TransportConnector> getTransportConnectors()
-
getBrokerService
@Deprecated public org.apache.activemq.broker.BrokerService getBrokerService()
Deprecated.since 5.11 with no replacementThis method should be removed once Halleluja plugin is no longer used.
-
encryptBrokerKeystorePassword
public void encryptBrokerKeystorePassword()
-
-