[jboss-jira] [JBoss JIRA] (WFLY-11830) Writing an invalid operation to pooled-connection-factory's transaction attribute should fail the mgmt operation
Petr Kremensky (Jira)
issues at jboss.org
Mon Mar 11 05:29:00 EDT 2019
Petr Kremensky created WFLY-11830:
-------------------------------------
Summary: Writing an invalid operation to pooled-connection-factory's transaction attribute should fail the mgmt operation
Key: WFLY-11830
URL: https://issues.jboss.org/browse/WFLY-11830
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 16.0.0.Final
Reporter: Petr Kremensky
Assignee: ehsavoie Hugonnet
Current behaviour:
{noformat}
[standalone at localhost:9990 /] /subsystem=messaging-activemq/server=default/pooled-connection-factory=activemq-ra:write-attribute(name=transaction,value=invalid)
10:26:37,062 WARN [org.wildfly.extension.messaging-activemq] (management-handler-thread - 1) WFLYMSGAMQ0101: Invalid value invalid for transaction, legal values are [local, none, xa], default value is applied.
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=messaging-activemq/server=default/pooled-connection-factory=activemq-ra:read-attribute(name=transaction)
{
"outcome" => "success",
"result" => "xa"
}
{noformat}
The management operation should fail in this case, and "Invalid value invalid for transaction, legal values are [local, none, xa], default value is applied." message should be part of failure description instead.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list