[jboss-jira] [JBoss JIRA] (JGRP-1596) Allow to configure a channel with properties as well as url

Ittay Dror (JIRA) jira-events at lists.jboss.org
Mon Feb 18 23:48:56 EST 2013


Ittay Dror created JGRP-1596:
--------------------------------

             Summary: Allow to configure a channel with properties as well as url
                 Key: JGRP-1596
                 URL: https://issues.jboss.org/browse/JGRP-1596
             Project: JGroups
          Issue Type: Feature Request
            Reporter: Ittay Dror
            Assignee: Bela Ban


Currently, if I want to start 2 channels with the same configuration file, I'll get a lot of "discarded message from different cluster". I can use system properties to tweak the port setting in the file, but this is not thread safe. 

I suggest adding a constructor `public JChannel(URL properties, Properties vars) throws Exception` that will use the 'vars' properties to interpolate the variables found in the properties file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list