SAP Knowledge Base Article - Preview

2577886 - Error when instantiating bean Receiver1_Mail of class interface org.apache.camel.Endpoint

Symptom

You are facing the following error when trying to send an e-mail through an iflow:

[CAMEL][IFLOW][ERROR] : Integration flow failed.   
[CAMEL][IFLOW][EXCEPTION] : org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean Receiver1_Mail of class interface org.apache.camel.Endpoint     
[CAMEL][IFLOW][CAUSE] : Cause: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: smtp://smtps://smtp.gmail.com:465?binding=%23binding_Receiver1_Mail&connectionTimeout=3000&mail.smtp.auth.login.disable=true&mail.smtp.auth.ntlm.disable=true&mail.smtp.auth.plain.disable=true&mail.smtp.auth.xoauth2.disable=true&mail.smtp.sasl.enable=true&mail.smtp.sasl.mechanisms=CRAM-MD5&mail.smtp.starttls.enable=true&mail.smtp.starttls.required=true due to: Could not find a suitable setter for property: binding as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: org.apache.camel.component.mail.MailBinding with value #binding_Receiver1_Mail       
[CAMEL][IFLOW][CAUSE] : Cause: java.lang.IllegalArgumentException: Could not find a suitable setter for property: binding as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: org.apache.camel.component.mail.MailBinding with value #binding_Receiver1_Mail


Read more...

Environment

SAP Cloud Platform Integration for process services

Product

SAP Integration Suite tools all versions

Keywords

SAP HANA Cloud Integration, SAP HCI, SAP CPI, SCPI, SFSF, tenant, IFlow, Integration Flow, deployment, model configurator, properties, gmail, email, smtp, configuration, port, ports, camel, receiver, endpoint, connection, timeout , KBA , LOD-HCI-PI-RT , Integration Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.