[jboss-user] [JBoss Remoting] - Re: client side socket timeout
Ron Sigal
do-not-reply at jboss.com
Thu Apr 21 14:10:16 EDT 2011
Ron Sigal [http://community.jboss.org/people/ron_sigal] created the discussion
"Re: client side socket timeout"
To view the discussion, visit: http://community.jboss.org/message/601520#601520
--------------------------------------------------------------
Hi Mayank,
Remoting has a per invocation timeout facility, but I don't believe there's any way to access it using an EJB3 proxy. The best you can do would be to set a global timeout in $JBOSS_HOME/server/$CONFIG/deploy/ejb3.deployer/META-INF/jboss-service.xml:
<mbean code="org.jboss.remoting.transport.Connector"
name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
<depends>jboss.aop:service=AspectDeployer</depends>
<attribute name="InvokerLocator">socket://${jboss.bind.address}:3873/?timeout=xyz</attribute> <<=== here
<attribute name="Configuration">
<handlers>
<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
</handlers>
</attribute>
</mbean>
-Ron
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/601520#601520]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110421/9eb5574d/attachment.html
More information about the jboss-user
mailing list