how do i register function names with workers?
Asked by
Khai Do
Hello. I have a question about how to register function names with workers. It isn't straight forward from the gearman-java examples how i can map an arbitrary name to gearman worker functions.
In the example the worker registers the ReverseFunction by getting the class and automatically setting the function name to 'org.gearman.
How can I change that function name to just 'reverse'? or what if i want to register the same function with a different name like 'reverse_a_string'?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Eric Lambert
- Solved:
- Last query:
- Last reply:
To post a message you must log in.