[jboss-jira] [JBoss JIRA] (WFLY-5393) Using deprecated attribute use-hornetq-store in CLI does not have any effect being set

Amos Feng (JIRA) issues at jboss.org
Thu Nov 5 19:46:00 EST 2015


    [ https://issues.jboss.org/browse/WFLY-5393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126221#comment-13126221 ] 

Amos Feng commented on WFLY-5393:
---------------------------------

OK, I will change it to 
{code}
assertEquals("journal", objectStoreType);  // use-hornetq-store should have the same effect of use-journal-store even if it was deprecated
{code}

[~tomjenkinson] how do you think about this ?
[~ochaloup] is it possible to show the message such like "the use-hornetq-store was deprecated and it needs to use use-journal-store" ?

> 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}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list