public interface DistributionHandler
DistributionHandler
interface is made to work with a distribution
queue or topic via a DistributionModule
. Its purpose is to easily
extend Joram destinations in order to deliver JMS messages outside of the JMS
world, for example using e-mail or ftp.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this handler and releases any system resources associated to it.
|
void |
distribute(Message message)
Distributes the given message outside of the JORAM server.
|
void |
init(Properties properties,
boolean firstTime)
Configures the handler with the given properties.
|
void distribute(Message message) throws Exception
message
- the message to distributeException
- if the message could not be distributed. The message will
be forwarded to a DMQ, if any.void init(Properties properties, boolean firstTime)
properties
- The initial set of properties.void close()
Copyright © 2020 ScalAgent D.T.. All rights reserved.