[ https://issues.apache.org/jira/browse/ARTEMIS-4532?focusedWorklogId=901040&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-901040 ]
ASF GitHub Bot logged work on ARTEMIS-4532: ------------------------------------------- Author: ASF GitHub Bot Created on: 22/Jan/24 20:33 Start Date: 22/Jan/24 20:33 Worklog Time Spent: 10m Work Description: jbertram commented on code in PR #4710: URL: https://github.com/apache/activemq-artemis/pull/4710#discussion_r1462384875 ########## docs/user-manual/versions.adoc: ########## @@ -31,6 +31,13 @@ These settings are now no longer required. + Configure `defaultMqttSessionExpiryInterval` instead. +* Due to https://issues.apache.org/jira/browse/ARTEMIS-4532[ARTEMIS-4532] the names of addresses and queues related to MQTT topics and subscriptions respectively may change. This will only impact you: ++ + . If the broker is configured to use a xref:wildcard-syntax.adoc[wildcard syntax] which doesn't match the xref:mqtt.adoc#wildcard-syntax[MQTT wildcard syntax]. + . If you are using characters from the broker's wildcard syntax in your MQTT topic names or topic filters. Review Comment: Updated. ########## artemis-server/src/test/java/org/apache/activemq/artemis/core/config/WildcardConfigurationTest.java: ########## @@ -0,0 +1,40 @@ +/* + * 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.core.config; + +import org.junit.Assert; +import org.junit.Test; + +public class WildcardConfigurationTest extends Assert { Review Comment: I added a new test. Issue Time Tracking ------------------- Worklog Id: (was: 901040) Time Spent: 1h (was: 50m) > MQTT-to-core wildcard conversion is broken > ------------------------------------------ > > Key: ARTEMIS-4532 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4532 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Justin Bertram > Assignee: Justin Bertram > Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > Currently when an MQTT topic filter contains characters from the configured > [wildcard > syntax|https://activemq.apache.org/components/artemis/documentation/latest/wildcard-syntax.html#wildcard-syntax] > the conversion to/from this syntax breaks. > For example, when using the default wildcard syntax if an MQTT topic filter > contains a {{.}} the conversion from the MQTT wildcard syntax to the core > wildcard syntax and back will result in the {{.}} being replaced with a {{/}}. -- This message was sent by Atlassian Jira (v8.20.10#820010)