[jboss-jira] [JBoss JIRA] (WFLY-12374) Transactions store attributes have wrong configuration

Michal Petrov (Jira) issues at jboss.org
Wed Aug 14 07:41:00 EDT 2019


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

Michal Petrov commented on WFLY-12374:
--------------------------------------

Btw and this is out of the scope of this issue, wouldn't a better way of determining which store to use be an enum (i.e. type string with allowed values)? Instead of the current solution of several boolean flags.

> Transactions store attributes have wrong configuration
> ------------------------------------------------------
>
>                 Key: WFLY-12374
>                 URL: https://issues.jboss.org/browse/WFLY-12374
>             Project: WildFly
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 17.0.1.Final
>            Reporter: Michal Petrov
>            Assignee: Michal Petrov
>            Priority: Minor
>
> Transactions subsystem has these attributes:
> * use-hornetq-store
> * use-journal-store
> * use-jdbc store
> each of those has the other two set up as alternatives, however "journal" is an alias of "hornetq" and so those two shouldn't be treated as mutually exclusive.
> (As far as I know this doesn't break anything because of the way the attributes are handled, but it poses a problem for WFCORE-4287)



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list