org.activemq.transport.stomp
Class StompTransportChannelFactory

java.lang.Object
  extended by org.activemq.transport.TransportChannelFactorySupport
      extended by org.activemq.transport.stomp.StompTransportChannelFactory
All Implemented Interfaces:
TransportChannelFactory

public class StompTransportChannelFactory
extends TransportChannelFactorySupport

A TTMP transport factory

Version:
$Revision: 1.1.1.1 $

Constructor Summary
StompTransportChannelFactory()
           
 
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
 
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

StompTransportChannelFactory

public StompTransportChannelFactory()
Method Detail

create

public TransportChannel create(WireFormat wireFormat,
                               URI remoteLocation)
                        throws JMSException
Description copied from interface: TransportChannelFactory
Create a Channel to a remote Node - e.g. a Broker

Returns:
the TransportChannel bound to the remote node
Throws:
JMSException

create

public TransportChannel create(WireFormat wireFormat,
                               URI remoteLocation,
                               URI localLocation)
                        throws JMSException
Description copied from interface: TransportChannelFactory
Create a Channel to a remote Node - e.g. a Broker

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

requiresEmbeddedBroker

public boolean requiresEmbeddedBroker()
Description copied from interface: TransportChannelFactory
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-2008 Protique, Ltd.. All Rights Reserved.