Hi,
as part of fixes for
https://issues.jboss.org/browse/AS7-3296
I have changed xml configuration for remoting 1.1
Changes ware made to the way xnio options are configured for
*-outbound-connections.
Now they are aligned with way options are configured for connector.
new xml configuration now looks like this:
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector"
socket-binding="remoting"/>
<connector name="test-connector"
socket-binding="test-remoting">
<properties>
<property name="org.xnio.Options.WORKER_ACCEPT_THREADS"
value="1"/>
</properties>
</connector>
<outbound-connections>
<remote-outbound-connection name="remote-conn1"
outbound-socket-binding-ref="mail-smtp">
<properties>
<property name=
"org.xnio.Options.SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="org.xnio.Options.SSL_ENABLED" value=
"false"/>
</properties>
</remote-outbound-connection>
<local-outbound-connection name="local-conn1"
outbound-socket-binding-ref="mail-smtp">
<properties>
<property name=
"org.xnio.Options.SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="org.xnio.Options.SSL_ENABLED" value=
"false"/>
</properties>
</local-outbound-connection>
</subsystem>
pull request with my changes
https://github.com/jbossas/jboss-as/pull/1278
Brian reminded me that this changes should be discusses in broader audience
as many people have worked on remoting subsystem and my have different view
on how things should be done.
So please check if my changes don't break anything and if they are in
general ok.
cheers,
Tomaz