]
Amos Feng updated WFLY-5393:
----------------------------
Fix Version/s: 10.0.0.Final
Using deprecated attribute use-hornetq-store in CLI does not have any
effect being set
--------------------------------------------------------------------------------------
Key: WFLY-5393
URL:
https://issues.jboss.org/browse/WFLY-5393
Project: WildFly
Issue Type: Bug
Components: Transactions
Affects Versions: 10.0.0.CR1
Reporter: Ondřej Chaloupka
Assignee: Amos Feng
Fix For: 10.0.0.Final
Attribute {{use-hornetq-store}} was deprecated for EAP7 and {{use-journal-store}} should
be used instead. But even the attribute is deprecated it still should provide its old
functionality.
I think that using {{use-hornetq-store}} would have the same effect as when
{{use-journal-store}} is used.
I would think that when one of the attribute is set then the other one should present the
same settings.
{code}
/subsystem=transactions:read-attribute(name=use-hornetq-store)
{
"outcome" => "success",
"result" => false
}
/subsystem=transactions:read-attribute(name=use-journal-store)
{
"outcome" => "success",
"result" => false
}
/subsystem=transactions:write-attribute(name=use-journal-store, value=true)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-restart" => true,
"process-state" => "restart-required"
}
}
:shutdown(restart=true)
{"outcome" => "success"}
/subsystem=transactions:read-attribute(name=use-journal-store)
{
"outcome" => "success",
"result" => true
}
/subsystem=transactions:read-attribute(name=use-hornetq-store)
{
"outcome" => "success",
"result" => false
}
{code}