From d1eebf9371cfb9c159f626204cdb7aed6c8d0a98 Mon Sep 17 00:00:00 2001 From: Iwein Fuld Date: Wed, 15 Sep 2010 20:45:04 +0200 Subject: [PATCH] INT-1339: removed mark message to keep MessageGroup interface immutable --- .../org/springframework/integration/store/MessageGroup.java | 5 ----- .../integration/store/SimpleMessageGroup.java | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java b/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java index c5186e98e2..36a3d91c9e 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java @@ -58,9 +58,4 @@ public interface MessageGroup { * @return the timestamp (milliseconds since epoch) associated with the creation of this group */ long getTimestamp(); - - /** - * Mark the given message in this group. If the message is not part of this group then this call has no effect. - */ - void mark(Message messageToMark); } \ No newline at end of file diff --git a/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java b/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java index e966a41de1..59a6676b0d 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java @@ -155,7 +155,7 @@ public class SimpleMessageGroup implements MessageGroup { } /** - * {@inheritDoc}} + * Mark the given message in this group. If the message is not part of this group then this call has no effect. */ public void mark(Message messageToMark) { synchronized (lock) {