eneter.messaging.nodes.broker
Interface IDuplexBrokerFactory

All Known Implementing Classes:
DuplexBrokerFactory

public interface IDuplexBrokerFactory

Declares the factory to create the broker and the broker client.


Method Summary
 IDuplexBroker createBroker()
          Creates the broker.
 IDuplexBrokerClient createBrokerClient()
          Creates the broker client.
 

Method Detail

createBrokerClient

IDuplexBrokerClient createBrokerClient()
                                       throws java.lang.Exception
Creates the broker client. The broker client is able to send messages to the broker (via attached duplex output channel). It also can subscribe for messages to receive notifications from the broker.

Returns:
Throws:
java.lang.Exception

createBroker

IDuplexBroker createBroker()
                           throws java.lang.Exception
Creates the broker. The broker receives messages and forwards them to subscribers.

Returns:
Throws:
java.lang.Exception