Hi All,
I have this weird issue where i am trying to execute the spring beans.xml in
osgi environment and i get this error 
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
sap-successfactors://FO_location?address=https%3A%2F%2Fapi4preview.sapsf.com%2Fsfapi%2Fv1%2Fsoap&batchSize=200&bus=%23sfsfBus&entity=FO_location&id=SF_T2_EC_SOAP_FOLOCATIONSFSF_EC_SOAP_FOLOCATIONDATA&messageProtocol=SOAP&operation=querySync&query=SELECT+externalCode%2Cname+FROM+FO_location&queryMode=NORMAL&receiveTimeOut=300000&secureStore=%23sfsfSecureStore&sfsfServiceProvider=%23sfsfServiceProvider&trustManagers=%23sfsfTrustManagers&usrDefinedNamespaceMap=%23userdefinedNamespaces
due to: Could not find a suitable setter for property: bus 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.cxf.Bus with value #sfsfBus, cause:
java.lang.IllegalArgumentException: Could not find a suitable setter for
property: bus 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.cxf.Bus with value #sfsfBus

It works most of the time but fails once in a while. I tried to debug and
research on my own but unable to get the root cause of the problem. The
endpoint is user defined endpoint.

Here's my enpoint

<cxfcore:bus bus="sfsfBus" id="HTR18_EC_TO_EMPYREAN_EE_DATA.sfsfEndPoint"/>

<camel:enrich id="ServiceTask_2"
strategyRef="xmlLookup_agg_strategy_ServiceTask_2"
uri="sap-successfactors:FO_location?entity=FO_location&amp;messageProtocol=SOAP&amp;operation=querySync&amp;receiveTimeOut=300000&amp;batchSize=200&amp;address=https://api4preview.sapsf.com/sfapi/v1/soap&amp;id=SF_T2_EC_SOAP_FOLOCATIONSFSF_EC_SOAP_FOLOCATIONDATA&amp;queryMode=NORMAL&amp;query=SELECT
externalCode,name FROM
FO_location&amp;trustManagers=#sfsfTrustManagers&amp;sfsfServiceProvider=#sfsfServiceProvider&amp;secureStore=#sfsfSecureStore&amp;bus=#sfsfBus&amp;usrDefinedNamespaceMap=#userdefinedNamespaces"/>

Can some one help me understanding the issue.



 



--
View this message in context: 
http://camel.465427.n5.nabble.com/org-apache-camel-ResolveEndpointFailedException-tp5791898.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to