Sitecore Event Queue - Can I delay events? -


sitecore has nice event queueing system persisted database. can define custom events.

i need able raise event has delay before it's processed. possible?

i use other queueing system (apachemq?), nice use built in sitecore 1 if possible.

as far know not possible delay event directly. there way custom code want executed delay.

you create custom event. in custom event handler use sitecore jobmanager execute specific method want start delay. using sitecore jobmanager able delay execution of method passing additional parameter "initialdelay".

var options = new joboptions("jobname", "category", "sitename", "object instance    contains method execute", "methodname")       { initialdelay = timespan.fromminutes(5.0) };  jobmanager.start(options); 

you can use execute method on cd server delay, after triggering cms server using remote events.

see this link more info sitecore jobs.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -