org.apache.activemq.network
Class NetworkBridgeFactory

java.lang.Object
  extended by org.apache.activemq.network.NetworkBridgeFactory

public final class NetworkBridgeFactory
extends Object

Factory for network bridges


Method Summary
static DemandForwardingBridge createBridge(NetworkBridgeConfiguration config, Transport localTransport, Transport remoteTransport)
          Create a network bridge
static DemandForwardingBridge createBridge(NetworkBridgeConfiguration configuration, Transport localTransport, Transport remoteTransport, NetworkBridgeListener listener)
          create a network bridge
static Transport createLocalTransport(Broker broker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createBridge

public static DemandForwardingBridge createBridge(NetworkBridgeConfiguration config,
                                                  Transport localTransport,
                                                  Transport remoteTransport)
Create a network bridge

Parameters:
config -
localTransport -
remoteTransport -
Returns:
the NetworkBridge

createBridge

public static DemandForwardingBridge createBridge(NetworkBridgeConfiguration configuration,
                                                  Transport localTransport,
                                                  Transport remoteTransport,
                                                  NetworkBridgeListener listener)
create a network bridge

Parameters:
configuration -
localTransport -
remoteTransport -
listener -
Returns:
the NetworkBridge

createLocalTransport

public static Transport createLocalTransport(Broker broker)
                                      throws Exception
Throws:
Exception


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.