Package org.apache.activemq.proxy
Class ProxyConnector
- java.lang.Object
-
- org.apache.activemq.proxy.ProxyConnector
-
-
Constructor Summary
Constructors Constructor Description ProxyConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TransportServer
createServer()
URI
getBind()
protected Integer
getConnectionCount()
URI
getLocalUri()
String
getName()
URI
getRemote()
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(TransportServer server)
void
start()
void
stop()
-
-
-
Method Detail
-
start
public void start() throws Exception
-
getLocalUri
public URI getLocalUri()
-
setLocalUri
public void setLocalUri(URI localURI)
-
getBind
public URI getBind()
-
setBind
public void setBind(URI bind)
-
getRemote
public URI getRemote()
-
setRemote
public void setRemote(URI remote)
-
getServer
public TransportServer getServer() throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
setServer
public void setServer(TransportServer server)
-
createServer
protected TransportServer createServer() throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
getName
public String getName()
-
setName
public void setName(String name)
-
isProxyToLocalBroker
public boolean isProxyToLocalBroker()
-
setProxyToLocalBroker
public void setProxyToLocalBroker(boolean proxyToLocalBroker)
-
getConnectionCount
protected Integer getConnectionCount()
-
-