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?initialReplayIdMap=#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