|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jmscts.core.MessagePropertyComparer
A helper class for comparing the properties of two messages.
| Constructor Summary | |
MessagePropertyComparer(boolean provider)
Construct a new instance |
|
| Method Summary | |
boolean |
compare(javax.jms.Message message1,
javax.jms.Message message2)
Compare two message's properties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessagePropertyComparer(boolean provider)
provider - if true, either message may contain provider properties
i.e those prefixed with JMSX or JMS_. These will be ignored.
| Method Detail |
public boolean compare(javax.jms.Message message1,
javax.jms.Message message2)
throws java.lang.Exception
compare in interface MessageComparermessage1 - one message to be tested for equalitymessage2 - the other message to be tested for equalitytrue if message1 and message2 are equaljava.lang.Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||