[jbossts-issues] [JBoss JIRA] Commented: (JBTM-369) String property replacement in configuration

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Wed Aug 13 09:46:41 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBTM-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424763#action_12424763 ] 

Jonathan Halliday commented on JBTM-369:
----------------------------------------

Hi Sacha

Please clearly define what you are trying to achieve. So far nobody has given me a convincing, specific real world use case for this feature.

As far as I can tell the existing ability to override values from the config file by specifying system properties is equivalent to value substitution, except for cases where you may want to use the same value for multiple parameters. The only such case I can think of is the IP address, for which we have a separate solution anyhow.

With the exceptions of the port bindings (which will be done via SBM), recovery (which will be done via the new tx integration API) and multiple 1PC (which is an horrifically bad idea anyhow), users should not need to change values in the tx properties file. I believe this feature will benefit only a small proportion of users.

I agree it's better to have consistent behaviour for the properties files, it makes for a better user experience. But that's secondary to having a product that works.

Because of these factors, I consider this issue a low priority. It will get done as and when we have time, but not until e.g. crash recovery and JTS integration are finished. That's why it's still not scheduled against any particular release.

Perhaps I'm missing something though. If you feel it's worth taking time out from managing the division to comment on the issue, you must feel it's important. Can you say why?

> String property replacement in configuration
> --------------------------------------------
>
>                 Key: JBTM-369
>                 URL: https://jira.jboss.org/jira/browse/JBTM-369
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Configuration
>    Affects Versions: 4.3.0.GA
>            Reporter: Dmitri Voronov
>         Attachments: config-string-replace.jar
>
>
> Please implement string property replacement in jbossjta-properties.xml like:
> <property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="${my.unique.name}"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossts-issues mailing list