I am reading the XML from JMS and then updating a param into Maria DB existing table. The route is running fine locally but when its deployed to server its throwing the following error:
Execution of JMS message listener failed.
Caused by: [org.apache.camel.language.bean.RuntimeBeanExpressionException - Failed to invoke method: getResponseBody on null due to:
org.apache.camel.component.bean.MethodNotFoundException: Method with name:
getResponseBody not found on bean: java.lang.NumberFormatException: null of type: java.lang.NumberFormatException.
My message in queue looks like:
<Notification> <resultCode>0</resultCode> <resultMessage>Job is donesuccessfully</resultMessage> <eventEndDate>2019-02-14 09:52:12</eventEndDate> </Notification>
And I am updating the MariaDB table parameter eventEndDate. The SQL query generated is as simple:
UPDATE table Set paramter1 = 'param' Where parameter2 = 'value';
The flow looks like in the picture, The route failed at the MariaDB component.
Did you buildyour route as an ESB microservice?
Could you please give us some detailed steps about your deployment?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to use an API-First Approach to Modernize your Applications
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs