org.activemq.transport
Interface TransportChannelFactory

All Known Implementing Classes:
TransportChannelFactorySupport

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

public 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

public 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

public 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-2007 Protique, Ltd.. All Rights Reserved.