• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Call Timeout from Client

 
Karthik Prabu
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to time out EJB call from the Client Side, something similar to java.sql.Statement.setQueryTimeout()

Thanks
Prabu
 
alec stewart stewart
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in your datasourec file
make the following entry
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic