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 Summary

    Modifier and Type
    Method
    Description
    boolean
    isDuplicate(URI messageId)
    Indicates whether the given MessageID value is a duplicate or not
    Returns a new WS-Addressing MessageID for the given SoapMessage.
  • Method Details

    • isDuplicate

      boolean isDuplicate(URI messageId)
      Indicates whether the given MessageID value is a duplicate or not
      Parameters:
      messageId - the message id
      Returns:
      true if a duplicate; false otherwise
    • newMessageId

      URI newMessageId(SoapMessage message)
      Returns a new WS-Addressing MessageID for the given SoapMessage.
      Parameters:
      message - the message to create an id for
      Returns:
      the new message id