org.activemq.transport
Class TransportChannelProvider
java.lang.Object
org.activemq.transport.TransportChannelProvider
- public class TransportChannelProvider
- extends java.lang.Object
A TransportChannel is used for tranporting packets between nodes
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportChannelProvider
public TransportChannelProvider()
create
public static TransportChannel create(WireFormat wireFormat,
java.net.URI remoteLocation)
throws javax.jms.JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Parameters:
remoteLocation
-
- Returns:
- the TransportChannel bound to the remote node
- Throws:
javax.jms.JMSException
create
public static TransportChannel create(WireFormat wireFormat,
java.net.URI remoteLocation,
java.net.URI localLocation)
throws javax.jms.JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Parameters:
remoteLocation
- localLocation
- -
e.g. local InetAddress and local port
- Returns:
- the TransportChannel bound to the remote node
- Throws:
javax.jms.JMSException
getFactory
public static TransportChannelFactory getFactory(java.net.URI remoteLocation)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createJMSexception
protected static javax.jms.JMSException createJMSexception(java.lang.String protocol,
java.lang.Exception e)
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.