Hi Okay you are welcome to create a JIRA ticket. Also if you have the chance then try with Camel 4.10.2 release also. And if you have the opportunity then you are welcome to check the source code in camel-salesforce, and see if you can fix this, and send a patch/PR.
On Tue, Mar 18, 2025 at 9:26 PM Alexei Cubata <acub...@407etr.com.invalid> wrote: > Hi > > Same issue with Camel 4.8.5. > > Thanks > > -----Original Message----- > From: Claus Ibsen <claus.ib...@gmail.com> > Sent: March 18, 2025 12:27 AM > To: users@camel.apache.org > Subject: Re: camel-salesforce fallBackReplayId not working > > Hi > > Can you try with Camel 4.8.5 release. > > > On Tue, Mar 18, 2025 at 1:40 AM Alexei Cubata <acub...@407etr.com.invalid> > wrote: > > > Hello Camel Users, > > > > I am using the Camel 4.8.3 Salesforce consumer to consume Platform > Events: > > > > > > salesforce:subscribe:/event/Process_Orchestration_Data__e?initialRepla > > yIdMap=#bean:mapBuilder&fallBackReplayId=-1 > > > > fallBackReplayId endpoint query parameter is not working as expected. > > The consumer keeps using the Replay ID in initialReplayIdMap instead > > of fallBackReplayId even though I see the log messages: > > > > 2025-03-17 14:31:41,130 WARN > > [org.apa.cam.com.sal.int.str.SubscriptionHelper] (Camel (camel-1) > > thread #3 > > - SalesforceHttpClient) 400::The replayId {111} you provided was invalid. > > Please provide a valid ID, -2 to replay all events, or -1 to replay > > only new events. > > 2025-03-17 14:31:41,130 WARN > > [org.apa.cam.com.sal.int.str.SubscriptionHelper] (Camel (camel-1) > > thread #3 > > - SalesforceHttpClient) Falling back to replayId -1 for channel > > /event/Process_Orchestration_Data__e > > > > but then again: > > > > 2025-03-17 14:31:41,265 WARN > > [org.apa.cam.com.sal.int.str.SubscriptionHelper] (Camel (camel-1) > > thread #4 > > - SalesforceHttpClient) Subscription failure: > > {clientId=d2j3pq7ikli449ej2cc0xsme2hq, channel=/meta/subscribe, id=35, > > subscription=/event/Process_Orchestration_Data__e, error=400::The > > replayId {111} you provided was invalid. Please provide a valid ID, > > -2 to replay all events, or -1 to replay only new events., > > successful=false} > > > > Is this a known issue? Is there a fix/workaround? > > > > Thank you, > > > > Alexei Cubata > > > > > -- > Claus Ibsen > ----------------- > @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > -- Claus Ibsen ----------------- @davsclaus Camel in Action 2: https://www.manning.com/ibsen2