org.activemq.transport.reliable
Class ReliableTransportChannelFactory

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

public class ReliableTransportChannelFactory
extends CompositeTransportChannelFactory

A Reliable implementation of a TransportChannelFactory

Version:
$Revision: 1.1.1.1 $

Constructor Summary
ReliableTransportChannelFactory()
           
 
Method Summary
 TransportChannel create(WireFormat wireFormat, URI remoteLocation)
          Create a TransportChannel
protected  List randomizeURIs(List uris)
           
 
Methods inherited from class org.activemq.transport.composite.CompositeTransportChannelFactory
create, parseURIs, requiresEmbeddedBroker, 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

ReliableTransportChannelFactory

public ReliableTransportChannelFactory()
Method Detail

create

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

Specified by:
create in interface TransportChannelFactory
Overrides:
create in class CompositeTransportChannelFactory
Parameters:
wireFormat - - the on-the-wire marshaller
remoteLocation - - location to bind to
Returns:
a reliable transport channel
Throws:
JMSException - if an error occurs

randomizeURIs

protected List randomizeURIs(List uris)
Overrides:
randomizeURIs in class CompositeTransportChannelFactory
Parameters:
uris - - the URIs to randomize
Returns:
randomized array


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