[jboss-user] [EJB 3.0] New message: "Re: Configuring the EJB timer service"

Andrig Miller do-not-reply at jboss.com
Tue Mar 16 17:01:06 EDT 2010


User development,

A new message was posted in the thread "Configuring the EJB timer service":

http://community.jboss.org/message/532369#532369

Author  : Andrig Miller
Profile : http://community.jboss.org/people/andy.miller@jboss.com

Message:
--------------------------------------------------------------
> jaikiran wrote:
>  
> > mailto:andy.miller at jboss.com wrote:
> >  The issue that this brings up in my mind is that this seems to be global.  You can only have one retry policy defined.  Am I right about that?
> Yes right now it's a global timer service level retry policy.
>  
> > mailto:andy.miller at jboss.com wrote:
> > Is there a way to make it so some timers use one retry policy and others use another?
> I am not sure whether adding a retry policy per timer is appropriate. I'll read the specs for some details around this and update this thread.
I'm not sure about the specification, and I know EJB timers are changing quite a bit in EJB 3.1 (finally), but its very impractical to think that all EJB timers should be treated the same.  However, it doesn't appear that there is a way to do anthing but a global policy.  So, if you have this situation, where you want to do something different with different timers, you will have to break up the application into multiple instances of the server, which may not be practical.  This is probably something to think about in the new EJB 3.1 stuff, then the old EJB 3 (which is just the same EJB 2.x stuff anyway).

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/532369#532369




More information about the jboss-user mailing list