title: How do I implement Request throttling in a Java EE environment?
body: <p>One of our application accepts requests through a message queue and dials a telephony call for every request.</p>
  
  <p>There are 2 telephony systems involved in dialing a call. One has a limitation on number of calls that can be initiated in a second but no limit on parallel calls and other system has a limitation of concurrent calls that can be active at any point in time.</p>
  
  <p>The later requirement is handled in the Java EE layer by having a message queue with a predefined number of MDBs not exceeding the limit.</p>
  
  <p>Can anyone please suggest how do I implement the first limitation (call initiation) in the Java EE layer (weblogic 10.3)? </p>