Bug 1320976

Summary: EAP7 - Missing new Artemis config params in Address Settings
Product: [JBoss] JBoss Operations Network Reporter: Hayk Hovsepyan <hhovsepy>
Component: Plugin -- JBoss EAP 7Assignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED CURRENTRELEASE QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: low Docs Contact:
Priority: low    
Version: JON 3.3.5CC: fbrychta, loleary, miburman, rvargasp, spinder
Target Milestone: CR01Keywords: Triaged
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-06 18:57:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1314853    

Description Hayk Hovsepyan 2016-03-24 11:58:43 UTC
There are several configuration parameters which are Artemis specific and are missing in "Address Settings" Configuration.

auto-create-jms-queues
auto-delete-jms-queues
expiry-delay
max-redelivery-delay
redelivery-multiplier

Logging this BZ as "low" severity because Artemis new features are not supported in JON EAP7 plugin.

Comment 1 Michael Burman 2016-03-24 18:04:58 UTC
I can't verify this with auto-create-jms-queues / auto-delete.. have these appeared in later builds (the implementation was done against ER05) ?

           "address-setting" => {
                "description" => "An address setting defines some attributes that are defined against an address wildcard rather than a specific queue.",
                "model-description" => {"*" => {
                    "description" => "An address setting defines some attributes that are defined against an address wildcard rather than a specific queue.",
                    "attributes" => {
                        "address-full-policy" => {
                            "type" => STRING,
                            "description" => "Determines what happens when an address where max-size-bytes is specified becomes full. (PAGE, DROP or BLOCK)",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => "PAGE",
                            "allowed" => [
                                "DROP",
                                "PAGE",
                                "BLOCK",
                                "FAIL"
                            ],
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "dead-letter-address" => {
                            "type" => STRING,
                            "description" => "The dead letter address",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" => 2147483647L,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "expiry-address" => {
                            "type" => STRING,
                            "description" => "Defines where to send a message that has expired.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" => 2147483647L,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "expiry-delay" => {
                            "type" => LONG,
                            "description" => "Defines the expiration time that will be used for messages using the default expiration time",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => -1L,
                            "unit" => "MILLISECONDS",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "last-value-queue" => {
                            "type" => BOOLEAN,
                            "description" => "Defines whether a queue only uses last values or not",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => false,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "max-delivery-attempts" => {
                            "type" => INT,
                            "description" => "Defines how many time a cancelled message can be redelivered before sending to the dead-letter-address",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 10,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "max-redelivery-delay" => {
                            "type" => LONG,
                            "description" => "Maximum value for the redelivery-delay (in ms).",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 0L,
                            "unit" => "MILLISECONDS",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "max-size-bytes" => {
                            "type" => LONG,
                            "description" => "The max bytes size.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => -1L,
                            "unit" => "BYTES",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "message-counter-history-day-limit" => {
                            "type" => INT,
                            "description" => "Day limit for the message counter history.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 0,
                            "unit" => "DAYS",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "page-max-cache-size" => {
                            "type" => INT,
                            "description" => "The number of page files to keep in memory to optimize IO during paging navigation.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 5,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "page-size-bytes" => {
                            "type" => LONG,
                            "description" => "The paging size.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 10485760L,
                            "unit" => "BYTES",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "redelivery-delay" => {
                            "type" => LONG,
                            "description" => "Defines how long to wait before attempting redelivery of a cancelled message",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 0L,
                            "unit" => "MILLISECONDS",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "redelivery-multiplier" => {
                            "type" => DOUBLE,
                            "description" => "Multiplier to apply to the redelivery-delay parameter",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 1.0,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "redistribution-delay" => {
                            "type" => LONG,
                            "description" => "Defines how long to wait when the last consumer is closed on a queue before redistributing any messages",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => -1L,
                            "unit" => "MILLISECONDS",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "send-to-dla-on-no-route" => {
                            "type" => BOOLEAN,
                            "description" => "If this parameter is set to true for that address, if the message is not routed to any queues it will instead be sent to the dead letter address (DLA) for that address, if it exists.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => false,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "slow-consumer-check-period" => {
                            "type" => LONG,
                            "description" => "How often to check for slow consumers on a particular queue.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => 5L,
                            "unit" => "MINUTES",
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "slow-consumer-policy" => {
                            "type" => STRING,
                            "description" => "Determine what happens when a slow consumer is identified.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => "NOTIFY",
                            "allowed" => [
                                "KILL",
                                "NOTIFY"
                            ],
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        },
                        "slow-consumer-threshold" => {
                            "type" => LONG,
                            "description" => "The minimum rate of message consumption allowed before a consumer is considered slow.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "default" => -1L,
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "no-services"
                        }
                    },
                    "operations" => undefined,
                    "notifications" => undefined,
                    "children" => {}
                }}
            },

Comment 2 Hayk Hovsepyan 2016-03-29 08:08:38 UTC
I have checked with ER6 and now just checked with ER7. These parameters exists there and can be set.

Comment 3 Ruben Vargas Palma 2016-04-11 14:08:49 UTC
commit e63b097586465aedab78d5905f9973a994f06da8
Author: Ruben Vargas <rvargasp>
Date:   Fri Apr 8 17:58:49 2016 -0500

    Bug 1320976 - EAP7 - Missing new Artemis config params in Address Settings

Comment 6 Hayk Hovsepyan 2016-04-29 12:34:59 UTC
Verified on revision jon33-eap-update04 CR01