A template for implementing message brokers for polling bases protocols (i.e. such as file system polling)
See Also:FileMessageBroker author: Lars Ivar Almli
doGetMessages(String channel, int maxMessageCount) Template method called to check for incoming messages (the polling
interval is defined by the message broker config)
Parameters: channel - the channel Parameters: maxMessageCount - the max number of messages to return (as defined in themessage broker config).
Template method called to check for incoming messages (the polling
interval is defined by the message broker config)
Parameters: channel - the channel Parameters: maxMessageCount - the max number of messages to return (as defined in themessage broker config). list of messages throws: MactorException - if a problem occured (this will not cause the test to fail)
Template method called to publish a message.
Parameters: channel - the channel Parameters: message - the message throws: MactorException - if a problem occured (this will cause the test to fail)