Joe,

There is an annotation that can be used : @OnPrimaryNodeStateChange that will 
allow the processor to be notified when the node it's running on is elected 
primary node or when this role is revoked.

However, there's nothing right now that exposes the Scheduling Strategy (Timer 
Driven, Chron Driven, Primary Node Only, Event Driven). This should probably be 
exposed in the ProcessContext.

Thanks
-Mark


> On Sep 16, 2015, at 11:03 AM, Joe Percivall <[email protected]> 
> wrote:
> 
> Hey Dev,
> 
> Is there a way for a processor to check if the scheduling is primary node 
> only and if it's being run on the primary node? The developer guide doesn't 
> mention anything about "primary node".
> 
> Thanks,
> Joe- - - - - - 
> Joseph Percivall
> linkedin.com/in/Percivall
> e: [email protected]

Reply via email to