You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by mohammadwrk <mo...@yahoo.com> on 2012/06/24 18:17:33 UTC

Sample code for custom ThreadPoolFactory which hook into WebSphere

Where can I find sample codes for implementing a custom ThreadPoolFactory or
ExecutorServiceStrategy which hooks into Websphere 8?

Thanks,
Mohammad

--
View this message in context: http://camel.465427.n5.nabble.com/Sample-code-for-custom-ThreadPoolFactory-which-hook-into-WebSphere-tp5715002.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sample code for custom ThreadPoolFactory which hook into WebSphere

Posted by David Karlsen <da...@gmail.com>.
This one works OOTB:
http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/scheduling/commonj/WorkManagerTaskExecutor.html

2012/6/25 Preben.Asmussen <pr...@dr.dk>:
> Hi Mohammad
>
> I worked on extending Camels DefaultExecutorServiceStrategy and use of
> CommonJ workmanagers a year ago. You can find it at
> https://github.com/pax95/camel-commonj and fork it if you find it useful.
>
> I tested it on weblogic 10, but got into issues regarding release of
> workmanagers. Not quite sure when and how they are released by jee servers,
> and how to verify expected behavior.
>
> /Preben
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Sample-code-for-custom-ThreadPoolFactory-which-hook-into-WebSphere-tp5715002p5715015.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Re: Sample code for custom ThreadPoolFactory which hook into WebSphere

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Hi Mohammad

I worked on extending Camels DefaultExecutorServiceStrategy and use of
CommonJ workmanagers a year ago. You can find it at
https://github.com/pax95/camel-commonj and fork it if you find it useful.

I tested it on weblogic 10, but got into issues regarding release of
workmanagers. Not quite sure when and how they are released by jee servers,
and how to verify expected behavior. 

/Preben

--
View this message in context: http://camel.465427.n5.nabble.com/Sample-code-for-custom-ThreadPoolFactory-which-hook-into-WebSphere-tp5715002p5715015.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sample code for custom ThreadPoolFactory which hook into WebSphere

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

There was a person in the community who worked on a jWorkManager
plugin, but for WebLogic.
But the jWorkManager API is a vendor neutral API so in theory that
should work with WebSphere as well.
I think he didn't manage to complete this fully.

But I suggest to look into that API for starters.


On Sun, Jun 24, 2012 at 6:17 PM, mohammadwrk <mo...@yahoo.com> wrote:
>
> Where can I find sample codes for implementing a custom ThreadPoolFactory or
> ExecutorServiceStrategy which hooks into Websphere 8?
>
> Thanks,
> Mohammad
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Sample-code-for-custom-ThreadPoolFactory-which-hook-into-WebSphere-tp5715002.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen