Spring Web Services Framework

org.springframework.ws.soap.addressing.messageid
Interface MessageIdStrategy

All Known Implementing Classes:
RandomGuidMessageIdStrategy, 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
 boolean isDuplicate(URI messageId)
          Indicates whether the given MessageID value is a duplicate or not
 URI newMessageId(SoapMessage message)
          Returns a new WS-Addressing MessageID for the given SoapMessage.
 

Method Detail

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

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.