Details
-
Bug
-
Resolution: Done
-
Major
-
7.1.0.Final
Description
String configuration parameters for HornetQ address cannot be set via CLI because of the following issue "JBAS014688: Wrong type for value. Expected [STRING] but was OBJECT".
pwd:
/subsystem=messaging/hornetq-server=default/address-setting=#
[standalone@localhost:9999 address-setting=#:read-attribute(name=redistribution-delay)
{ "outcome" => "success", "result" => -1L } [standalone@localhost:9999 address-setting=#] :write-attribute(name=redistribution-delay, value=1000L) {"outcome" => "success"}[standalone@localhost:9999 address-setting=#:read-attribute(name=redistribution-delay)
{
"outcome" => "success",
"result" => 1000L
}
[standalone@localhost:9999 address-setting=#] :write-attribute(name=address-full-policy, value=PAGE)
{
"outcome" => "failed",
"failure-description" => "JBAS014688: Wrong type for value. Expected [STRING] but was OBJECT",
"rolled-back" => true
}
[standalone@localhost:9999 address-setting=#] :write-attribute(name=address-full-policy, value="PAGE")
{
"outcome" => "failed",
"failure-description" => "JBAS014688: Wrong type for value. Expected [STRING] but was OBJECT",
"rolled-back" => true
}
[standalone@localhost:9999 address-setting=#] :write-attribute(name=expiry-address, value="jms.queue.DLQ")
{
"outcome" => "failed",
"failure-description" => "JBAS014688: Wrong type for value. Expected [STRING] but was OBJECT",
"rolled-back" => true
}
[standalone@localhost:9999 address-setting=#] ls -l
ATTRIBUTE VALUE TYPE
address-full-policy BLOCK STRING
dead-letter-address jms.queue.DLQ STRING
expiry-address jms.queue.ExpiryQueue STRING
last-value-queue false BOOLEAN
max-delivery-attempts 10 INT
max-size-bytes 10485760 INT
message-counter-history-day-limit 10 INT
page-max-cache-size 5 INT
page-size-bytes 10485760 LONG
redelivery-delay 0 INT
redistribution-delay -1 LONG
send-to-dla-on-no-route false BOOLEAN