[jboss-jira] [JBoss JIRA] Commented: (JGRP-1109) Port the AS JChannelFactory impl to JGroups as "JChanelFactory2"

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Dec 8 20:37:29 EST 2009


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

Brian Stansberry commented on JGRP-1109:
----------------------------------------

The AS channel factory has a configuration property "addSingletonName". This affects the behavior of the createChannel(String stack_name) method. If true, it creates a synthetic singleton name if the stack config doesn't have one; if false it doesn't.  Default is true for the AS version, since that's the behavior I want, but default could be false in a more general purpose JGroups version.

For the createMultiplexerChannel(...) methods, the AS factory always adds a singleton name if not configured. That's because the use of that method implies an expectation that channel resources will be shared.

> Port the AS JChannelFactory impl to JGroups as "JChanelFactory2"
> ----------------------------------------------------------------
>
>                 Key: JGRP-1109
>                 URL: https://jira.jboss.org/jira/browse/JGRP-1109
>             Project: JGroups
>          Issue Type: Sub-task
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Optional
>             Fix For: 2.9
>
>
> Parent task involves API changes, so can't happen before 3.0. A possibility for earlier releases is to add the AS ChannelFactory impl as a second impl, under a different name. Perhaps SharedTransportChannelFactory since the key behavior is the fact that channels it creates all use the shared transport; no MuxChannels are created.  Users who wanted that behavior could instantiate SharedTransportChannelFactory instead of the legacy JChannelFactory.

-- 
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