|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.dest.amqp.AmqpDistribution
public class AmqpDistribution
Constructor Summary | |
---|---|
AmqpDistribution()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmqpDistribution()
Method Detail |
---|
public void init(java.util.Properties properties)
DistributionHandler
init
in interface DistributionHandler
properties
- The initial set of properties.public void distribute(Message message) throws java.lang.Exception
DistributionHandler
distribute
in interface DistributionHandler
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.public void close()
DistributionHandler
close
in interface DistributionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |