-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR18
-
None
cluster-connection must require discovery-group or static-connector (exclusively, not both can be defined) but currently it's possible to create it without it:
[standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default/cluster-connection=my-cluster1:add(connector-name=connector, cluster-connection-address=jms) { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } } [standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default/cluster-connection=my-cluster1:read-resource { "outcome" => "success", "result" => { "allow-direct-connections-only" => false, "call-failover-timeout" => -1L, "call-timeout" => 30000L, "check-period" => 30000L, "cluster-connection-address" => "jms", "confirmation-window-size" => 1048576, "connection-ttl" => 60000L, "connector-name" => "connector", "discovery-group" => undefined, "initial-connect-attempts" => -1, "max-hops" => 1, "max-retry-interval" => 2000L, "message-load-balancing-type" => "ON_DEMAND", "min-large-message-size" => 102400, "notification-attempts" => 2, "notification-interval" => 1000L, "producer-window-size" => -1, "reconnect-attempts" => -1, "retry-interval" => 500L, "retry-interval-multiplier" => 1.0, "static-connectors" => undefined, "use-duplicate-detection" => true }, "response-headers" => {"process-state" => "reload-required"} }
Such cluster-connection will not work and is hard to see where is the problem.
All credit for finding this issue wwang2018, thanks.
- clones
-
WFLY-8828 Creating cluster-connection in CLI must require discovery-group or static-connector
-
- Closed
-