org.activemq.transport.remote
Class RemoteTransportChannelFactory

java.lang.Object
  extended by org.activemq.transport.TransportChannelFactorySupport
      extended by org.activemq.transport.composite.CompositeTransportChannelFactory
          extended by org.activemq.transport.remote.RemoteTransportChannelFactory
All Implemented Interfaces:
TransportChannelFactory

public class RemoteTransportChannelFactory
extends CompositeTransportChannelFactory

Creates a remote based transport.

Version:
$Revision: 1.1.1.1 $
See Also:
RemoteTransportChannel

Constructor Summary
RemoteTransportChannelFactory()
           
 
Method Summary
 TransportChannel create(WireFormat wireFormat, URI remoteLocation)
          Create a Channel
 TransportChannel create(WireFormat wireFormat, URI remoteLocation, URI localLocation)
          Create a peer channel
 boolean requiresEmbeddedBroker()
          Does this channel require an embedded broker to perform such as VM or multicast based transports
 
Methods inherited from class org.activemq.transport.composite.CompositeTransportChannelFactory
parseURIs, randomizeURIs, stripLeadingSlashes
 
Methods inherited from class org.activemq.transport.TransportChannelFactorySupport
populateProperties, populateProperties, populateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteTransportChannelFactory

public RemoteTransportChannelFactory()
Method Detail

create

public TransportChannel create(WireFormat wireFormat,
                               URI remoteLocation)
                        throws JMSException
Create a Channel

Specified by:
create in interface TransportChannelFactory
Overrides:
create in class CompositeTransportChannelFactory
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 peer channel

Specified by:
create in interface TransportChannelFactory
Overrides:
create in class CompositeTransportChannelFactory
Parameters:
wireFormat -
remoteLocation -
localLocation -
Returns:
Throws:
JMSException

requiresEmbeddedBroker

public boolean requiresEmbeddedBroker()
Does this channel require an embedded broker to perform such as VM or multicast based transports

Specified by:
requiresEmbeddedBroker in interface TransportChannelFactory
Overrides:
requiresEmbeddedBroker in class CompositeTransportChannelFactory
Returns:
true if an embedded broker is a requirement of using the channel


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