[jboss-jira] [JBoss JIRA] (JGRP-1900) Programmatic channel creation ignores system properties for protocol attrs
Bela Ban (JIRA)
issues at jboss.org
Mon Feb 16 08:45:49 EST 2015
[ https://issues.jboss.org/browse/JGRP-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040513#comment-13040513 ]
Bela Ban commented on JGRP-1900:
--------------------------------
OK, variables don't exist outside of an XML config, so this doesn't make any sense. However, we can substitute default values, e.g. {{TP.bind_addr}} with the value of system prop {{jgroups.bind_addr}}.
> Programmatic channel creation ignores system properties for protocol attrs
> --------------------------------------------------------------------------
>
> Key: JGRP-1900
> URL: https://issues.jboss.org/browse/JGRP-1900
> Project: JGroups
> Issue Type: Bug
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.6.2
>
>
> When using programmatic creation of a JChannel
> * Variables are not substituted, e.g. {{myvar="$\{my.port:10\}"}}
> * System properties are ignored, e.g. {{-Djgroups.bind_addr=192.168.1.5}} does *not* set {{TP.bind_addr}}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list