Defines the message broker interface
Message broker implementations is not requiered to implement both publish and
subscribe (UnsupportedOperationException should be thrown by methods not implemented by the message broker)
Message broker implementations must have contructor that takes a
MessageBrokerConfig
as the single parameter
The simplest way to implement a message broker is to extend the
AbstractMessageBroker class, or the PollingMessageBrokerTemplate if the protocol is polling based (i.e. the case for FilesMessageBroker)
author: Lars Ivar Almli |