Package org.apache.activemq.proxy
Class ProxyConnector
- java.lang.Object
-
- org.apache.activemq.proxy.ProxyConnector
-
- All Implemented Interfaces:
org.apache.activemq.Service
public class ProxyConnector extends Object implements org.apache.activemq.Service
-
-
Constructor Summary
Constructors Constructor Description ProxyConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
start
public void start() throws Exception
- Specified by:
start
in interfaceorg.apache.activemq.Service
- Throws:
Exception
-
stop
public void stop() throws Exception
- Specified by:
stop
in interfaceorg.apache.activemq.Service
- 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 org.apache.activemq.transport.TransportServer getServer() throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
setServer
public void setServer(org.apache.activemq.transport.TransportServer server)
-
createServer
protected org.apache.activemq.transport.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()
-
-