[
https://issues.apache.org/jira/browse/CAMEL-14298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996990#comment-16996990
]
Claus Ibsen commented on CAMEL-14298:
-------------------------------------
In your example your toD is not really dynamic as sfEndpointName is constant
> Salesforce: when dynamic producer is used, response is received when producer
> is stopped
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-14298
> URL: https://issues.apache.org/jira/browse/CAMEL-14298
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce
> Affects Versions: 3.0.0
> Reporter: Andrey Tyurin
> Priority: Major
>
> For example we have route:
> from(direct:processSf)
> .process(new SomeProcessor())
> .toD(sfEndpointName + ":createSObject?sObjectName=AgentWork")
> .process(new ResponseProcessor())
>
> where sfEndpointName is like "salesforce-123-rest" - dynamic name for
> different SF components
>
> then response from SF is received when SF producer is stopped. In my case it
> takes 10 seconds to get event in ResponseProcessor
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)