Hi

not openejb but did it for deltaspike:
http://deltaspike.apache.org/documentation/core.html#AsynchronousOperations


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-09-22 11:06 GMT+02:00 cocorossello <cocorosse...@gmail.com>:

> I have an application that calls multiple external web services and each
> one
> of them has specific limits, so I would like to throttle concurrent calls
> based on a just plain number (at least for now).
>
> I was about to implement a custom interceptor for this, something like:
>
>
> @Throttle(max=5)
> @Asynchronous
> public void doSmthg(){
> }
>
> but I was wondering if openEJB already implements something similar...
> (since we can define multiple stateless/stateful containers)
>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Throttle-Asynchronous-calls-tp4680188.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to