[
https://issues.apache.org/jira/browse/AMQ-9646?focusedWorklogId=956115&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-956115
]
ASF GitHub Bot logged work on AMQ-9646:
---------------------------------------
Author: ASF GitHub Bot
Created on: 07/Feb/25 16:57
Start Date: 07/Feb/25 16:57
Worklog Time Spent: 10m
Work Description: mattrpav commented on code in PR #1377:
URL: https://github.com/apache/activemq/pull/1377#discussion_r1946861642
##########
activemq-broker/src/test/java/org/apache/activemq/store/MessageRecoveryContextTest.java:
##########
@@ -0,0 +1,220 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.store;
+
+import static org.junit.Assert.*;
+
+import org.apache.activemq.command.Message;
+import org.apache.activemq.command.MessageId;
+import org.junit.Test;
+
+public class MessageRecoveryContextTest {
+
+ @Test
+ public void testConfigOffset() {
+ MessageRecoveryContext messageRecoveryContext =
+ new MessageRecoveryContext.Builder()
+ .maxMessageCountReturned(999)
+ .messageRecoveryListener(new MessageRecoveryListener() {
Review Comment:
Done
Issue Time Tracking
-------------------
Worklog Id: (was: 956115)
Time Spent: 3.5h (was: 3h 20m)
> Support selecting specific messages for command line backup
> -----------------------------------------------------------
>
> Key: AMQ-9646
> URL: https://issues.apache.org/jira/browse/AMQ-9646
> Project: ActiveMQ Classic
> Issue Type: Improvement
> Reporter: Matt Pavlovich
> Assignee: Matt Pavlovich
> Priority: Minor
> Fix For: 6.2.0, 5.19.0
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact