This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 462707509bb492d2fdac1da955d4d2b787cd6964 Author: Benoit Tellier <btell...@linagora.com> AuthorDate: Wed Jun 19 13:40:27 2019 +0700 JAMES-2794 Create an EnqueueId POJO in RabbitMQMailQueue --- .../src/main/java/org/apache/james/queue/rabbitmq/EnqueueId.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/EnqueueId.java b/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/EnqueueId.java index e2057ac..f9bc3b4 100644 --- a/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/EnqueueId.java +++ b/server/queue/queue-rabbitmq/src/main/java/org/apache/james/queue/rabbitmq/EnqueueId.java @@ -22,13 +22,12 @@ package org.apache.james.queue.rabbitmq; import java.util.Objects; import java.util.UUID; -import com.datastax.driver.core.utils.UUIDs; import com.google.common.base.Preconditions; public class EnqueueId { public static EnqueueId generate() { - return of(UUIDs.timeBased()); + return of(UUID.randomUUID()); } public static EnqueueId of(UUID uuid) { --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org