Interface MessageIdStrategy
- All Known Implementing Classes:
UuidMessageIdStrategy
public interface MessageIdStrategy
Strategy interface that encapsulates the creation and validation of WS-Addressing
MessageID
s.- Since:
- 1.5.0
- Author:
- Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDuplicate
(URI messageId) Indicates whether the givenMessageID
value is a duplicate or notnewMessageId
(SoapMessage message) Returns a new WS-AddressingMessageID
for the givenSoapMessage
.
-
Method Details
-
isDuplicate
Indicates whether the givenMessageID
value is a duplicate or not- Parameters:
messageId
- the message id- Returns:
true
if a duplicate;false
otherwise
-
newMessageId
Returns a new WS-AddressingMessageID
for the givenSoapMessage
.- Parameters:
message
- the message to create an id for- Returns:
- the new message id
-