[jboss-jira] [JBoss JIRA] (AS7-4497) Channel creation options in EJB3 subsystem refer to class names
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Fri Apr 13 03:33:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-4497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683754#comment-12683754 ]
jaikiran pai commented on AS7-4497:
-----------------------------------
Based on a mail discussion, this will be changed to allow channel creation options in the following form:
{code:xml}
<subsystem xmlns="urn:jboss:domain:ejb3:1.3">
<remote connector-ref="remoting-connector" thread-pool-name="default">
<channel-creation-options>
<option name="READ_TIMEOUT" value="20" type="xnio"/>
<option name="MAX_OUTBOUND_MESSAGES" value="1234" type="remoting"/>
</channel-creation-options>
</remote>
{code}
The type attribute is introduced and the current allowed values are "xnio" and "remoting". Using "xnio" will translate to org.xnio.Options class and using "remoting" will translate to org.xnio.Option.RemotingOptions class. The name attribute will no longer have references to classname.
> Channel creation options in EJB3 subsystem refer to class names
> ---------------------------------------------------------------
>
> Key: AS7-4497
> URL: https://issues.jboss.org/browse/AS7-4497
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Reporter: jaikiran pai
> Assignee: jaikiran pai
> Fix For: 7.1.2.Final-redhat1
>
>
> AS7-4373 introduced a way to configure the channel creation options for the EJB remote channel. The way it's allowed is as follows:
> {code:xml}
> <subsystem xmlns="urn:jboss:domain:ejb3:1.3">
> <remote connector-ref="remoting-connector" thread-pool-name="default">
> <channel-creation-options>
> <!-- Just random configurations as examples -->
> <option name="org.xnio.Options.READ_TIMEOUT" value="20"/>
> <option name="org.jboss.remoting3.RemotingOptions.MAX_OUTBOUND_MESSAGES" value="1234"/>
> </channel-creation-options>
> </remote>
> {code}
> This isn't acceptable since the option name refers to a classname.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list