org.activemq.transport.peer
Class PeerTransportChannelFactory

java.lang.Object
  extended by org.activemq.transport.TransportChannelFactorySupport
      extended by org.activemq.transport.peer.PeerTransportChannelFactory
All Implemented Interfaces:
TransportChannelFactory

public class PeerTransportChannelFactory
extends TransportChannelFactorySupport

Creates peer based transport. A PeerTransportChannel creates an embedded broker, and uses discovery and/or defined list of urls to create a p-2-p interconnected network.

Version:
$Revision: 1.1.1.1 $
See Also:
PeerTransportChannel

Constructor Summary
PeerTransportChannelFactory()
           
 
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.TransportChannelFactorySupport
populateProperties, populateProperties, populateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeerTransportChannelFactory

public PeerTransportChannelFactory()
Method Detail

create

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

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

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

Returns:
true if an embedded broker is a requirement of using the channel


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