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
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisDuplicate(@Nullable URI messageId) Indicates whether the givenMessageIDvalue is a duplicate or not.newMessageId(SoapMessage message) Returns a new WS-AddressingMessageIDfor the givenSoapMessage.
-
Method Details
-
isDuplicate
Indicates whether the givenMessageIDvalue is a duplicate or not.- Parameters:
messageId- the message id- Returns:
trueif a duplicate;falseotherwise
-
newMessageId
Returns a new WS-AddressingMessageIDfor the givenSoapMessage.- Parameters:
message- the message to create an id for- Returns:
- the new message id
-