[ 
https://issues.apache.org/jira/browse/ARTEMIS-2314?focusedWorklogId=230753&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-230753
 ]

ASF GitHub Bot logged work on ARTEMIS-2314:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Apr/19 15:56
            Start Date: 22/Apr/19 15:56
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on pull request #2629: 
ARTEMIS-2314 broken compat with old core JMS FQQN consumer
URL: https://github.com/apache/activemq-artemis/pull/2629#discussion_r277335136
 
 

 ##########
 File path: 
tests/compatibility-tests/src/test/java/org/apache/activemq/artemis/tests/compatibility/FQQNConsumerTest.java
 ##########
 @@ -0,0 +1,74 @@
+/*
+ * 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.artemis.tests.compatibility;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.activemq.artemis.tests.compatibility.base.ServerBase;
+import org.apache.activemq.artemis.utils.FileUtil;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+
+import static 
org.apache.activemq.artemis.tests.compatibility.GroovyRun.SNAPSHOT;
+import static 
org.apache.activemq.artemis.tests.compatibility.GroovyRun.TWO_SIX_THREE;
+
+@RunWith(Parameterized.class)
+public class FQQNConsumerTest extends ServerBase {
+
+   // this will ensure that all tests in this class are run twice,
+   // once with "true" passed to the class' constructor and once with "false"
+   @Parameterized.Parameters(name = "server={0}, producer={1}, consumer={2}")
+   public static Collection getParameters() {
+      // we don't need every single version ever released..
+      // if we keep testing current one against 2.4 and 1.4.. we are sure the 
wire and API won't change over time
+      List<Object[]> combinations = new ArrayList<>();
+
+      combinations.add(new Object[]{SNAPSHOT, TWO_SIX_THREE, TWO_SIX_THREE});
 
 Review comment:
   any time you use 2.6.3, 2.4.0, 2.2.0 as the server, and SNAPSHOT as a 
client, on any combination
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 230753)
    Time Spent: 1h  (was: 50m)

> Broken backwards compatibility with core JMS FQQN consumer
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-2314
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2314
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> When auto-creation is *off* then older clients consuming messages from an 
> FQQN won't work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to