[jboss-user] [Remoting] - Re: CompressingMarshaller and clientConnectAddress
ron.sigal@jboss.com
do-not-reply at jboss.com
Fri Sep 14 21:37:28 EDT 2007
There are two options:
1. You can append the clientConnectAddress parameter to the InvokerLocator:
| <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873/?marshaller=org.jboss.remoting.marshal.compress.CompressingMarsh
| aller&unmarshaller=org.jboss.remoting.marshal.compress.CompressingUnMarshaller&clientConnectAddress=bluemonkeydiamond.com</attribute>
|
or you can add attribute elements for the marshaller and unmarshaller to the invoker element:
| <mbean code="org.jboss.remoting.transport.Connector" name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
| <depends>jboss.aop:service=AspectDeployer</depends>
| <attribute name="Configuration">
| <config>
| <invoker transport="socket">
| <attribute name="numAcceptThreads">1</attribute>
| <attribute name="maxPoolSize">360</attribute>
| <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
| <attribute name="timeout" isParam="true">60000</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">3873</attribute>
| <attribute name="clientConnectAddress">
| ###THE_CLIENT_CONNECT_ADDRESS###</attribute>
| <attribute name="backlog">200</attribute>
| <attribute name="marshaller">org.jboss.remoting.marshal.compress.CompressingMarshaller</attribute>
| <attribute name="unmarshaller">org.jboss.remoting.marshal.compress.CompressingUnMarshaller</attribute>
| </invoker>
| <handlers>
| <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
| </handlers>
| </config>
| </attribute>
| </mbean>
|
See Section 5.1.1.2. "Declarative configuration" of the Remoting Guide (http://labs.jboss.com/jbossremoting/docs/guide/index.html).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084692#4084692
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084692
More information about the jboss-user
mailing list