org.objectweb.joram.mom.dest
Class DistributionModule
java.lang.Object
org.objectweb.joram.mom.dest.DistributionModule
- All Implemented Interfaces:
- java.io.Serializable
public class DistributionModule
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
CLASS_NAME
The property name for the distribution handler class name. |
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.objectweb.util.monolog.api.Logger logger
CLASS_NAME
public static final java.lang.String CLASS_NAME
- The property name for the distribution handler class name.
- See Also:
- Constant Field Values
KEEP_MESSAGE_OPTION
public static final java.lang.String KEEP_MESSAGE_OPTION
- Keep message property name: tells if distributed message is kept in destination.
- See Also:
- Constant Field Values
DistributionModule
public DistributionModule(Destination destination,
java.util.Properties properties)
processMessages
public ClientMessages processMessages(ClientMessages cm)
- Messages received on the distribution destination are distributed using the
specified
DistributionHandler
.
updateProperties
public void updateProperties(java.util.Properties properties)
throws java.lang.Exception
- Update the properties, resets the distribution properties.
- Parameters:
properties
- new properties
- Throws:
java.lang.Exception
close
public void close()
Copyright © 2011 ScalAgent D.T.. All Rights Reserved.