[jboss-jira] [JBoss JIRA] Commented: (JBAS-8026) HornetQ group-address and port configurations for discovery and broadcast groups should use ServiceBindingManager
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Fri May 14 08:50:27 EDT 2010
[ https://jira.jboss.org/jira/browse/JBAS-8026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12530751#action_12530751 ]
jaikiran pai commented on JBAS-8026:
------------------------------------
>> on that case.. even with you inform -Dports=, those groups should still be the same... unless they form another group.
>> I'm not sure how the ServiceBinding would help here
Assume this scenario:
1) User/admin wants to change all the default ports used by JBoss.
2) In the absence of SBM, he has to go to numerous files and keep changing the values (like in hornetq-configuration.xml)
3) However, for ports configured through SBM, he doesn't have to do anything except use a different pre-configured group name. SBM, internally adds a value to the default port number in that case. For example, in this case hornetq uses 9876 port number for "ports-default" SBM group. If the user doesn't want to use this, he can use the "ports-01" group without having to change anything. SBM internally adds +100 (just an example) to the default port. So hornetq will now start using 9976.
Effectively, the user did not have to change any config file. That's just one use of the SBM. The other use being, centralization of the port and address configs. User just has to change one single file (if at all he wants to do that). Also, note that administration tools like admin-console, uses the metadata created out of SBM to port management.
> HornetQ group-address and port configurations for discovery and broadcast groups should use ServiceBindingManager
> ------------------------------------------------------------------------------------------------------------------
>
> Key: JBAS-8026
> URL: https://jira.jboss.org/jira/browse/JBAS-8026
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JMS (HornetQ)
> Reporter: jaikiran pai
> Assignee: Clebert Suconic
> Fix For: 6.0.0.M4
>
>
> Currently the discovery group and the broadcast group in hornetq-configuration.xml in AS are used for configuring the group-address and the port:
> <broadcast-groups>
> <broadcast-group name="bg-group1">
> <group-address>231.7.7.7</group-address>
> <group-port>9876</group-port>
> <broadcast-period>5000</broadcast-period>
> <connector-ref connector-name="netty"/>
> </broadcast-group>
> </broadcast-groups>
> <discovery-groups>
> <discovery-group name="dg-group1">
> <group-address>231.7.7.7</group-address>
> <group-port>9876</group-port>
> <refresh-timeout>10000</refresh-timeout>
> </discovery-group>
> </discovery-group>
> The ServiceBindingManager http://community.jboss.org/wiki/AS5ServiceBindingManager should instead be used for these properties.
--
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 jboss-jira
mailing list