Package org.apache.activemq.network
Interface BridgeFactory
-
- All Known Implementing Classes:
NetworkBridgeFactory
public interface BridgeFactory
Encapsulation of bridge creation logic. This SPI interface is intended to customize or decorate existing bridge implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DemandForwardingBridge
createNetworkBridge(NetworkBridgeConfiguration configuration, Transport localTransport, Transport remoteTransport, NetworkBridgeListener listener)
Create a network bridge between two specified transports.
-
-
-
Method Detail
-
createNetworkBridge
DemandForwardingBridge createNetworkBridge(NetworkBridgeConfiguration configuration, Transport localTransport, Transport remoteTransport, NetworkBridgeListener listener)
Create a network bridge between two specified transports.- Parameters:
configuration
- Bridge configuration.localTransport
- Local side of bridge.remoteTransport
- Remote side of bridge.listener
- Bridge listener.- Returns:
- the NetworkBridge
-
-