camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Geletka (JIRA)" <>
Subject [jira] [Created] (CAMEL-8492) BeanInfo introspection ignores overriden methods
Date Mon, 16 Mar 2015 09:22:38 GMT
Peter Geletka created CAMEL-8492:

             Summary: BeanInfo introspection ignores overriden methods
                 Key: CAMEL-8492
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.15.0
            Reporter: Peter Geletka

When BeanInfo introspects class which implements a interface with one method, implemented
method is filtered out and no invocation of the method is possible.

public interface RequestMessageTranslator<I, O> {

    O translate(I in);

public class RequestMessageTranslatorImpl implements RequestMessageTranslator<String, String>

    public String translate(String in) {
        return null;

Then calling the class from route:

ends with:
Caused by: java.lang.IllegalStateException: No method invocation could be created, no matching
method could be found on: RequestMessageTranslator@402fbbaf
	at org.apache.camel.component.bean.BeanProcessor.process(

This message was sent by Atlassian JIRA

View raw message