|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.dest.DistributionModule
public class DistributionModule
Field Summary | |
---|---|
static java.lang.String |
CLASS_NAME
The property name for the distribution handler class name. |
private DestinationImpl |
destination
The distribution queue or topic using this module. |
private DistributionHandler |
distributionHandler
Holds the distribution logic. |
private boolean |
keep
Tells if distributed message is kept in destination |
static java.lang.String |
KEEP_MESSAGE_OPTION
Keep message property name: tells if distributed message is kept in destination. |
static org.objectweb.util.monolog.api.Logger |
logger
|
private static long |
serialVersionUID
define serialVersionUID for interoperability |
Constructor Summary | |
---|---|
DistributionModule(DestinationImpl destination,
java.util.Properties properties)
|
Method Summary | |
---|---|
void |
close()
|
ClientMessages |
processMessages(ClientMessages cm)
Messages received on the distribution destination are distributed using the specified DistributionHandler . |
private void |
setProperties(java.util.Properties props)
Resets the distribution properties. |
private static java.util.Properties |
transform(Properties properties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static org.objectweb.util.monolog.api.Logger logger
public static final java.lang.String CLASS_NAME
public static final java.lang.String KEEP_MESSAGE_OPTION
private boolean keep
private DistributionHandler distributionHandler
private final DestinationImpl destination
Constructor Detail |
---|
public DistributionModule(DestinationImpl destination, java.util.Properties properties) throws RequestException
RequestException
Method Detail |
---|
private static java.util.Properties transform(Properties properties)
private void setProperties(java.util.Properties props) throws RequestException
RequestException
public ClientMessages processMessages(ClientMessages cm)
DistributionHandler
.
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |