[jboss-jira] [JBoss JIRA] (AS7-4828) JGroups subsystem protocol properties should support expressions

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Mon Aug 27 16:25:15 EDT 2012


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

Richard Achmatowicz edited comment on AS7-4828 at 8/27/12 4:23 PM:
-------------------------------------------------------------------

Well, it does for the attributes default-stack, site, rack, machine, but CommonAttributes.VALUE is marked as setAllowExpression(false). This is that attribute is intended to govern the values of properties. But this then would expect me to believe that if an expression were passed in and processed by VALUE.validateAndSet, it would be rejected. On the other hand, expressions seem to be getting through to the JGroups level based on JBPAPP-9504.

Going to investigate. It may be that CommonAttributes.VALUE is not getting called at some point in the processing as there are several ways in which protocol properties can be passed in.
  
                
      was (Author: rachmato):
    Well, it does for the attributes default-stack, site, rack, machine, but CommonAttributes.VALUE is marked as setAllowExpression(false). But this then would expect me to believe that if an expression were passed in and processed by VALUE.validateAndSet, it would be rejected. On the other hand, expressions seem to be getting through to the JGroups level based on JBPAPP-9504.

Going to investigate. It may be that CommonAttributes.VALUE is not getting called at some point in the processing as there are several ways in which protocol properties can be passed in.
  
                  
> JGroups subsystem protocol properties should support expressions
> ----------------------------------------------------------------
>
>                 Key: AS7-4828
>                 URL: https://issues.jboss.org/browse/AS7-4828
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Clustering
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Paul Ferraro
>            Assignee: Richard Achmatowicz
>             Fix For: 7.2.0.Alpha1
>
>
> A sample use case:
> <protocol type="TCPPING">
>   <property name="initial_hosts">${jgroups.tcpping.initial_hosts}</property>
> </protocol>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list