|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemq.ActiveMQMessageAudit
public class ActiveMQMessageAudit
Provides basic audit functions for Messages
| Constructor Summary | |
|---|---|
ActiveMQMessageAudit()
Default Constructor windowSize = 1024, maximumNumberOfProducersToTrack = 128 |
|
ActiveMQMessageAudit(int windowSize,
int maximumNumberOfProducersToTrack)
Construct a MessageAudit |
|
| Method Summary | |
|---|---|
boolean |
isDuplicate(Message message)
Checks if this message has beeb seen before |
boolean |
isDuplicate(String id)
checks whether this messageId has been seen before and adds this messageId to the list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActiveMQMessageAudit()
public ActiveMQMessageAudit(int windowSize,
int maximumNumberOfProducersToTrack)
windowSize - range of ids to trackmaximumNumberOfProducersToTrack - number of producers expected in the system| Method Detail |
|---|
public boolean isDuplicate(Message message)
throws JMSException
message -
JMSExceptionpublic boolean isDuplicate(String id)
id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||