Grails-Plugin-Consortium / grails-jesque

1 stars 5 forks source link

jobs with parameters are not "registered" #5

Closed peh closed 8 years ago

peh commented 8 years ago

This really simple job:

class ApplicationDeploymentJob {

    def applicationService

    def perform(def appId, def version, def hostname) {
        applicationService.addDeployment(appId as long, version, hostname)
    }
}

is not being successfully registered as a JesqueJobClass. in JesqueJobArtefactHandler line 46 is not finding the perform method.