You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source must be changed to use subscribe as operationName as that is now mandatory in 3.19 onwards.
Otherwise you get errors like
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: local-salesforce-1://OpportunityTopic?notifyForFields=ALL¬ifyForOperationCreate=true¬ifyForOperationDelete=false¬ifyForOperationUndelete=false¬ifyForOperationUpdate=false&sObjectQuery=SELECT+Id%2C+name%2C+accountId%2C+stagename%2C+amount++FROM+Opportunity+WHERE+IsWon+%3D+true&updateTopic=true due to: OpportunityTopic
at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:985)
at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:867)
at org.apache.camel.support.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:58)
at org.apache.camel.reifier.AbstractReifier.resolveEndpoint(AbstractReifier.java:191)
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:94)
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74)
... 25 more
Caused by: java.lang.IllegalArgumentException: OpportunityTopic
at org.apache.camel.component.salesforce.internal.OperationName.fromValue(OperationName.java:128)
at org.apache.camel.component.salesforce.SalesforceComponent.createEndpoint(SalesforceComponent.java:304)
at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:951)
The text was updated successfully, but these errors were encountered:
The source must be changed to use subscribe as operationName as that is now mandatory in 3.19 onwards.
Otherwise you get errors like
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: local-salesforce-1://OpportunityTopic?notifyForFields=ALL¬ifyForOperationCreate=true¬ifyForOperationDelete=false¬ifyForOperationUndelete=false¬ifyForOperationUpdate=false&sObjectQuery=SELECT+Id%2C+name%2C+accountId%2C+stagename%2C+amount++FROM+Opportunity+WHERE+IsWon+%3D+true&updateTopic=true due to: OpportunityTopic
at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:985)
at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:867)
at org.apache.camel.support.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:58)
at org.apache.camel.reifier.AbstractReifier.resolveEndpoint(AbstractReifier.java:191)
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:94)
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74)
... 25 more
Caused by: java.lang.IllegalArgumentException: OpportunityTopic
at org.apache.camel.component.salesforce.internal.OperationName.fromValue(OperationName.java:128)
at org.apache.camel.component.salesforce.SalesforceComponent.createEndpoint(SalesforceComponent.java:304)
at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:951)
The text was updated successfully, but these errors were encountered: