Interface MessageIdStrategy
- All Known Implementing Classes:
- UuidMessageIdStrategy
public interface MessageIdStrategy
Strategy interface that encapsulates the creation and validation of WS-Addressing 
MessageIDs.- Since:
- 1.5.0
- Author:
- Arjen Poutsma
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisDuplicate(URI messageId) Indicates whether the givenMessageIDvalue is a duplicate or notnewMessageId(SoapMessage message) Returns a new WS-AddressingMessageIDfor the givenSoapMessage.
- 
Method Details- 
isDuplicateIndicates whether the givenMessageIDvalue is a duplicate or not- Parameters:
- messageId- the message id
- Returns:
- trueif a duplicate;- falseotherwise
 
- 
newMessageIdReturns a new WS-AddressingMessageIDfor the givenSoapMessage.- Parameters:
- message- the message to create an id for
- Returns:
- the new message id
 
 
-