diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java index e58b80dc6b..aa2b0b3c03 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java @@ -77,7 +77,7 @@ public final class MessageCounterInfo { final int depthDelta, final String lastAddTimestamp, final String lastAckTimestamp, - final String udpateTimestamp) { + final String updateTimestamp) { this.name = name; this.subscription = subscription; this.durable = durable; @@ -87,7 +87,7 @@ public final class MessageCounterInfo { this.depthDelta = depthDelta; this.lastAddTimestamp = lastAddTimestamp; this.lastAckTimestamp = lastAckTimestamp; - this.updateTimestamp = udpateTimestamp; + this.updateTimestamp = updateTimestamp; } // Public -------------------------------------------------------- diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java index d1f6f47c9c..b142f8e0c8 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java @@ -27,7 +27,7 @@ import org.apache.activemq.artemis.core.server.group.UnproposalListener; public interface Bindings extends UnproposalListener { - // this is to inform the parent there was an udpate on the bindings + // this is to inform the parent there was an update on the bindings void updated(QueueBinding binding); Collection getBindings(); diff --git a/docs/user-manual/en/management.md b/docs/user-manual/en/management.md index ec94a2f979..f09bf1882a 100644 --- a/docs/user-manual/en/management.md +++ b/docs/user-manual/en/management.md @@ -915,7 +915,7 @@ Message counters give additional information about the queues: The timestamp of the last time a message from the queue was acknowledged -- `udpateTimestamp` +- `updateTimestamp` The timestamp of the last message counter update diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java index f355c708cd..e49c1ade8b 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java @@ -101,7 +101,7 @@ public class UpdateQueueTest extends ActiveMQTestBase { Assert.assertEquals(originalID, server.locateQueue(ADDRESS).getID()); - // stopping, restarting to make sure the system will not create an extra record without an udpate + // stopping, restarting to make sure the system will not create an extra record without an update server.stop(); server.start(); validateBindingRecords(server, JournalRecordIds.QUEUE_BINDING_RECORD, 2); @@ -188,7 +188,7 @@ public class UpdateQueueTest extends ActiveMQTestBase { Assert.assertEquals(originalID, server.locateQueue(ADDRESS).getID()); - // stopping, restarting to make sure the system will not create an extra record without an udpate + // stopping, restarting to make sure the system will not create an extra record without an update server.stop(); server.start(); validateBindingRecords(server, JournalRecordIds.QUEUE_BINDING_RECORD, 2);