[jboss-user] [jBPM] - Re: Change a Timer length/period at runtime possible?

Ryan Peterson do-not-reply at jboss.com
Wed Oct 26 12:02:29 EDT 2011


Ryan Peterson [http://community.jboss.org/people/rrpeterson] created the discussion

"Re: Change a Timer length/period at runtime possible?"

To view the discussion, visit: http://community.jboss.org/message/633710#633710

--------------------------------------------------------------
I think I've found how to programmatically change a timer's delay/period:

With the NodeInstance reference, it's possible to check if it's an instanceof TimerNodeInstance, and if so it can be cast to a TimerNodeInstance that you can use .getTimer() to then get/set the delay/period/etc.

Even though this would work, I'm still not convinced it's the "best" way.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/633710#633710]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111026/d6d4f4d7/attachment.html 


More information about the jboss-user mailing list