camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-8792) org.apache.camel.language.bean.RuntimeBeanExpressionException: Failed to invoke method:
Date Mon, 25 May 2015 10:14:17 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang reassigned CAMEL-8792:
-----------------------------------

    Assignee: Willem Jiang

> org.apache.camel.language.bean.RuntimeBeanExpressionException: Failed to invoke method:

> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-8792
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8792
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, camel-sql
>    Affects Versions: 2.15.2
>         Environment: windows7 jdk1.7
>            Reporter: 黄颜木
>            Assignee: Willem Jiang
>
> 1. when just use sqlComponents ,its okay. 
> 2. I try to just run the sql one times,so add timer//foo?repeatCount=1
> error happend.  
> Stacktrace
> ---------------------------------------------------------------------------------------------------------------------------------------
> org.apache.camel.language.bean.RuntimeBeanExpressionException: Failed to invoke method:
.mainid on null due to: org.apache.camel.language.bean.RuntimeBeanExpressionException: Failed
to invoke method: mainid on null due to: org.apache.camel.component.bean.MethodNotFoundException:
Method with name: mainid not found on bean: [com.ofbizian.CategoryBean@bbf16e, 
> my code goes here:
> ----------------------------------------------------------------------------
> ...
>  42
>  43   <bean id="categoryBean" class="com.ofbizian.CategoryBean"/>
>  44
> ...
>  53     <route id="encoderCategory-route">
>  54       <!-- 仅运行一次-->
>  55       <from uri="timer://foo?repeatCount=1"/>
>  56       <to uri="sql:{{sql.selectCategory}}?outputClass=com.ofbizian.CategoryBean"/>
> ...
>      



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message