org.activemq.transport
Interface TransportChannelFactory

All Known Implementing Classes:
ActiveIOTransportChannelFactory, CompositeTransportChannelFactory, DiscoveryTransportChannelFactorySupport, JabberTransportChannelFactory, MulticastDiscoveryTransportChannelFactory, MulticastTransportChannelFactory, PeerTransportChannelFactory, ReliableTransportChannelFactory, RemoteTransportChannelFactory, SfTransportChannelFactory, StompTransportChannelFactory, TcpTransportChannelFactory, TransportChannelFactorySupport, UdpTransportChannelFactory, VmTransportChannelFactory

public interface TransportChannelFactory

TransportChannelFactory for creating TransportChannels

Version:
$Revision: 1.1.1.1 $

Method Summary
 TransportChannel create(WireFormat wireFormat, URI remoteLocation)
          Create a Channel to a remote Node - e.g.
 TransportChannel create(WireFormat wireFormat, URI remoteLocation, URI localLocation)
          Create a Channel to a remote Node - e.g.
 boolean requiresEmbeddedBroker()
          Does this channel require an embedded broker to perform such as VM or multicast based transports
 

Method Detail

create

TransportChannel create(WireFormat wireFormat,
                        URI remoteLocation)
                        throws JMSException
Create a Channel to a remote Node - e.g. a Broker

Parameters:
wireFormat -
remoteLocation -
Returns:
the TransportChannel bound to the remote node
Throws:
JMSException

create

TransportChannel create(WireFormat wireFormat,
                        URI remoteLocation,
                        URI localLocation)
                        throws JMSException
Create a Channel to a remote Node - e.g. a Broker

Parameters:
wireFormat -
remoteLocation -
localLocation - - e.g. local InetAddress and local port
Returns:
the TransportChannel bound to the remote node
Throws:
JMSException

requiresEmbeddedBroker

boolean requiresEmbeddedBroker()
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


Copyright © 2004-2010 Protique, Ltd.. All Rights Reserved.