[jboss-jira] [JBoss JIRA] (JGRP-1934) Add external protocol ID to jg-protocol-ids.xml

Bela Ban (JIRA) issues at jboss.org
Fri Jun 19 09:48:02 EDT 2015


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

Bela Ban commented on JGRP-1934:
--------------------------------

OK, I added an attribute {{external}} to {{jg-protocol-ids.xml}} and {{jg-magic-map.xml}}. If true, JGroups won't load the class at initialization time:
{noformat}
<!-- Reserved IDs for external classes: [500..1000] -->
<class id="500" name="org.jgroups.protocols.azure.AZURE_PING" external="true"/>
{noformat}

IDs for external protocols have to start at 500.

> Add external protocol ID to jg-protocol-ids.xml
> -----------------------------------------------
>
>                 Key: JGRP-1934
>                 URL: https://issues.jboss.org/browse/JGRP-1934
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 3.6.4
>
>
> If some external project needs a protocol ID, allow to add an external protocol to {{jg-protocol-ids.xml}}.
> Possibly do the same for magic numbers ({{jg-magic-map.xml}}).
> This needs to be marked specially, so we don't try to load that protocol / class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list