[
https://issues.apache.org/jira/browse/ARTEMIS-4157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rakhi Kumari updated ARTEMIS-4157:
----------------------------------
Description:
{color:#172b4d}ActiveMQ Artemis 2.27.0 raise the attached exception(type
mismatch between read and write methods) while setting broker properties for
the following AddressSettings.{color}
{code:java}
properties.put("addressSettings.NeedToSet.autoCreateAddresses", "false");
properties.put("addressSettings.NeedToSet.autoDeleteQueues", "false");
properties.put("addressSettings.NeedToSet.defaultConsumersBeforeDispatch", 1);
properties.put("addressSettings.NeedToSet.defaultPurgeOnNoConsumers", "true");
properties.put("addressSettings.NeedToSet.autoCreateQueues", "false");
properties.put("addressSettings.NeedToSet.autoDeleteAddresses", "false");
properties.put("addressSettings.NeedToSet.defaultDelayBeforeDispatch", 77);
properties.put("addressSettings.NeedToSet.autoDeleteCreatedQueues", "true");
properties.put("addressSettings.NeedToSet.defaultExclusiveQueue", "true");
properties.put("addressSettings.NeedToSet.defaultMaxConsumers", 10);
{code}
{code:java}
[main] 17:29:17,408 DEBUG
[org.apache.activemq.artemis.core.config.impl.ConfigurationImpl] setProperty on
class org.apache.activemq.artemis.core.settings.impl.AddressSettings, name:
name, value: NeedToSet
[main] 17:29:17,408 TRACE
[org.apache.activemq.artemis.core.config.impl.ConfigurationImpl] resolved
target, bean: class
org.apache.activemq.artemis.core.settings.impl.AddressSettings, name: name
[main] 17:29:17,411 TRACE
[org.apache.activemq.artemis.utils.uri.FluentPropertyBeanIntrospectorWithIgnores]
error for property named autoDeleteCreatedQueues
java.beans.IntrospectionException: type mismatch between read and write methods
{code}
Full Backtrace: [^exceptionBckTrace.txt]
was:
{color:#172b4d}ActiveMQ Artemis 2.27.0 raise the attached exception(type
mismatch between read and write methods) while setting broker properties for
the following AddressSettings.{color}
{code}
properties.put("addressSettings.NeedToSet.autoCreateAddresses", "false");
properties.put("addressSettings.NeedToSet.autoDeleteQueues", "false");
properties.put("addressSettings.NeedToSet.defaultConsumersBeforeDispatch", 1);
properties.put("addressSettings.NeedToSet.defaultPurgeOnNoConsumers", "true");
properties.put("addressSettings.NeedToSet.autoCreateQueues", "false");
properties.put("addressSettings.NeedToSet.autoDeleteAddresses", "false");
properties.put("addressSettings.NeedToSet.defaultDelayBeforeDispatch", 77);
properties.put("addressSettings.NeedToSet.autoDeleteCreatedQueues", "true");
properties.put("addressSettings.NeedToSet.defaultExclusiveQueue", "true");
properties.put("addressSettings.NeedToSet.defaultMaxConsumers", 10);
{code}
[^exceptionBckTrace.txt]
> Error setting broker properties for AddressSettings
> ---------------------------------------------------
>
> Key: ARTEMIS-4157
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4157
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.27.1
> Reporter: Rakhi Kumari
> Priority: Major
> Attachments: exceptionBckTrace.txt
>
>
> {color:#172b4d}ActiveMQ Artemis 2.27.0 raise the attached exception(type
> mismatch between read and write methods) while setting broker properties for
> the following AddressSettings.{color}
> {code:java}
> properties.put("addressSettings.NeedToSet.autoCreateAddresses", "false");
> properties.put("addressSettings.NeedToSet.autoDeleteQueues", "false");
> properties.put("addressSettings.NeedToSet.defaultConsumersBeforeDispatch", 1);
> properties.put("addressSettings.NeedToSet.defaultPurgeOnNoConsumers", "true");
> properties.put("addressSettings.NeedToSet.autoCreateQueues", "false");
> properties.put("addressSettings.NeedToSet.autoDeleteAddresses", "false");
> properties.put("addressSettings.NeedToSet.defaultDelayBeforeDispatch", 77);
> properties.put("addressSettings.NeedToSet.autoDeleteCreatedQueues", "true");
> properties.put("addressSettings.NeedToSet.defaultExclusiveQueue", "true");
> properties.put("addressSettings.NeedToSet.defaultMaxConsumers", 10);
> {code}
> {code:java}
> [main] 17:29:17,408 DEBUG
> [org.apache.activemq.artemis.core.config.impl.ConfigurationImpl] setProperty
> on class org.apache.activemq.artemis.core.settings.impl.AddressSettings,
> name: name, value: NeedToSet
> [main] 17:29:17,408 TRACE
> [org.apache.activemq.artemis.core.config.impl.ConfigurationImpl] resolved
> target, bean: class
> org.apache.activemq.artemis.core.settings.impl.AddressSettings, name: name
> [main] 17:29:17,411 TRACE
> [org.apache.activemq.artemis.utils.uri.FluentPropertyBeanIntrospectorWithIgnores]
> error for property named autoDeleteCreatedQueues
> java.beans.IntrospectionException: type mismatch between read and write
> methods {code}
> Full Backtrace: [^exceptionBckTrace.txt]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)