Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems sending message under Eclipse #23

Open
yellek opened this issue Mar 10, 2013 · 2 comments
Open

Problems sending message under Eclipse #23

yellek opened this issue Mar 10, 2013 · 2 comments

Comments

@yellek
Copy link

yellek commented Mar 10, 2013

When I run the code:

class ParseMailService {

def parseMail(mailText) {

    def mailMessage = [body : mailText]
    sendMessage("seda:input.queue", mailMessage)

}

}

I get the error:

caught: groovy.lang.MissingMethodException: No signature of method: topicmail.ParseMailService.sendMessage() is applicable for argument types: (java.lang.String, java.util.LinkedHashMap) values: [seda:input.queue, [body:...]]

Environment:

Eclipse 4.2.1
Grails IDE 3.1.0
Grails Plugins:
cache: 1.0.1
database-migration: 1.2.1
hibernate: 2.2.0
jquery: 1.8.3
resources: 1.1.6
routing: 1.2.2
tomcat: 2.2.0
webxml: 1.4.1

@rowlandwatkins
Copy link

Hi Yellek,

Looks like your not getting the CamelContext injected into your ParseMailService - does ParseMailService live in grails-app/services, or somewhere else?

Cheers,

Rowland

@JarredOlson
Copy link

I get this as well in a Controller and Service that is under grails-app/controllers /grails-app/services directory using 2 different versions of Grails.

grails 2.3.5/2.2.2
routing 1.2.9
routing-jms 1.2.0

If you have any insight into this it would be extremely helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants