org.exolab.jmscts.core
Interface MessageComparer

All Known Implementing Classes:
AbstractMessageComparer, MessagePropertyComparer

public interface MessageComparer

Interface for comparing messages

Version:
$Revision: 1.3 $ $Date: 2004/01/31 13:44:24 $
Author:
Tim Anderson
See Also:
AbstractMessageComparer

Method Summary
 boolean compare(javax.jms.Message message1, javax.jms.Message message2)
          Compare two messages
 

Method Detail

compare

public boolean compare(javax.jms.Message message1,
                       javax.jms.Message message2)
                throws java.lang.Exception
Compare two messages
Parameters:
message1 - one message to be tested for equality
message2 - the other message to be tested for equality
Returns:
true if message1 and message2 are equal
Throws:
java.lang.Exception - for any error


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.