|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
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(java.util.Properties properties)
Configures the handler with the given properties. |
Method Detail |
---|
void distribute(Message message) throws java.lang.Exception
message
- the message to distribute
java.lang.Exception
- if the message could not be distributed. The message will
be forwarded to a DMQ, if any.void init(java.util.Properties properties)
properties
- The initial set of properties.void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |