Class ProxyConnector
java.lang.Object
org.apache.activemq.proxy.ProxyConnector
- All Implemented Interfaces:
org.apache.activemq.Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.activemq.transport.TransportServergetBind()protected IntegergetName()org.apache.activemq.transport.TransportServerorg.apache.activemq.broker.SslContextbooleanvoidvoidsetBrokerService(BrokerService brokerService) voidsetLocalUri(URI localURI) voidvoidsetProxyToLocalBroker(boolean proxyToLocalBroker) voidvoidsetServer(org.apache.activemq.transport.TransportServer server) voidsetSslContext(org.apache.activemq.broker.SslContext sslContext) Sets the SSL context used when the bind or remote URI uses an SSL based transport.voidstart()voidstop()
-
Constructor Details
-
ProxyConnector
public ProxyConnector()
-
-
Method Details
-
start
-
stop
-
getLocalUri
-
setLocalUri
-
getBind
-
setBind
-
getRemote
-
setRemote
-
getServer
public org.apache.activemq.transport.TransportServer getServer() throws IOException, URISyntaxException- Throws:
IOExceptionURISyntaxException
-
setServer
public void setServer(org.apache.activemq.transport.TransportServer server) -
createServer
protected org.apache.activemq.transport.TransportServer createServer() throws IOException, URISyntaxException- Throws:
IOExceptionURISyntaxException
-
getName
-
setName
-
isProxyToLocalBroker
public boolean isProxyToLocalBroker() -
setProxyToLocalBroker
public void setProxyToLocalBroker(boolean proxyToLocalBroker) -
getBrokerService
-
setBrokerService
-
getSslContext
public org.apache.activemq.broker.SslContext getSslContext() -
setSslContext
public void setSslContext(org.apache.activemq.broker.SslContext sslContext) Sets the SSL context used when the bind or remote URI uses an SSL based transport. When not set, the broker's SSL context is used; when neither is set, the JVM default applies. -
getConnectionCount
-