Hi in tomee you can create the resource you want using tomee.xml - for container resources - or resources.xml - for resources using application classloader. This includes a work manager or a simple ExecutorService if it makes your code easier. Then the application can reference it using @Resource(name = "id of the resource"). I'm no used to Weblogic but seems you maybe dont need this dispatch policy with TomEE.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-12-03 16:01 GMT+01:00 seenu.atluri <[email protected]>: > Hi, > > Our application is currently running on Weblogic. In weblogic, we can > create > work managers and provide WL dispatch policy as described here > http://middlewaremagic.com/weblogic/?p=513 > <http://middlewaremagic.com/weblogic/?p=513> > > We are migrating this application to TomEE now. Work managers play critical > role in our application as we can assign more threads to functionalities > which require immediate processing. > > In TomEE, I find work managers can be created using > openejb-concurrency-utilities/CommonJ. But, how do we specify dispatch > policies in TomEE as in weblogic? > > Thanks & Regards, > Srinivas Atluri. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Work-Manager-and-dispatch-policy-in-TomEE-tp4677117.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
