org.activemq.transport.composite
Class CompositeTransportChannelFactory
java.lang.Object
org.activemq.transport.TransportChannelFactorySupport
org.activemq.transport.composite.CompositeTransportChannelFactory
- All Implemented Interfaces:
- TransportChannelFactory
- Direct Known Subclasses:
- DiscoveryTransportChannelFactorySupport, ReliableTransportChannelFactory, RemoteTransportChannelFactory
public class CompositeTransportChannelFactory
- extends TransportChannelFactorySupport
A Composite implementation of a TransportChannelFactory
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeTransportChannelFactory
public CompositeTransportChannelFactory()
create
public TransportChannel create(WireFormat wireFormat,
URI remoteLocation)
throws JMSException
- Description copied from interface:
TransportChannelFactory
- Create a Channel to a remote Node - e.g. a Broker
- Returns:
- the TransportChannel bound to the remote node
- Throws:
JMSException
create
public TransportChannel create(WireFormat wireFormat,
URI remoteLocation,
URI localLocation)
throws JMSException
- Description copied from interface:
TransportChannelFactory
- Create a Channel to a remote Node - e.g. a Broker
localLocation
- -
e.g. local InetAddress and local port
- Returns:
- the TransportChannel bound to the remote node
- Throws:
JMSException
requiresEmbeddedBroker
public boolean requiresEmbeddedBroker()
- Description copied from interface:
TransportChannelFactory
- Does this channel require an embedded broker to perform
such as VM or multicast based transports
- Returns:
- true if an embedded broker is a requirement
of using the channel
parseURIs
public static String parseURIs(List uris,
URI uri)
throws URISyntaxException
- Throws:
URISyntaxException
stripLeadingSlashes
protected static String stripLeadingSlashes(String text)
randomizeURIs
protected List randomizeURIs(List uris)
Copyright © 2004-2008 Protique, Ltd.. All Rights Reserved.