public void resumeTrigger(SchedulingContext ctxt, String triggerName,
String groupName) {
log.debug("Resuming Trigger: " + triggerName + "." + groupName);
String key = TriggerWrapper.getTriggerNameKey(triggerName, groupName);
GetAttributesResult result = amazonSimpleDb
.getAttributes(new GetAttributesRequest(triggerDomain, key)
.withConsistentRead(new Boolean(true)));
TriggerWrapper tw = null;
try {
tw = triggerFromAttributes(result.getAttributes());
} catch (Exception e) {
log.error("Could not create trigger for Item: " + result.toString());
}
// does the trigger exist?
if (tw == null || tw.trigger == null) {
return;