public class ProxyConnector extends Object implements org.apache.activemq.Service
| Constructor and Description |
|---|
ProxyConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.activemq.transport.TransportServer |
createServer() |
URI |
getBind() |
protected Integer |
getConnectionCount() |
URI |
getLocalUri() |
String |
getName() |
URI |
getRemote() |
org.apache.activemq.transport.TransportServer |
getServer() |
boolean |
isProxyToLocalBroker() |
void |
setBind(URI bind) |
void |
setLocalUri(URI localURI) |
void |
setName(String name) |
void |
setProxyToLocalBroker(boolean proxyToLocalBroker) |
void |
setRemote(URI remote) |
void |
setServer(org.apache.activemq.transport.TransportServer server) |
void |
start() |
void |
stop() |
public ProxyConnector()
public void start() throws Exception
start in interface org.apache.activemq.ServiceExceptionpublic void stop() throws Exception
stop in interface org.apache.activemq.ServiceExceptionpublic URI getLocalUri()
public void setLocalUri(URI localURI)
public org.apache.activemq.transport.TransportServer getServer() throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionpublic void setServer(org.apache.activemq.transport.TransportServer server)
protected org.apache.activemq.transport.TransportServer createServer() throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionpublic boolean isProxyToLocalBroker()
public void setProxyToLocalBroker(boolean proxyToLocalBroker)
protected Integer getConnectionCount()
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.