Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

I am not able to use this extension #2

@misrasuraj

Description

@misrasuraj

Hi,
As per sales force streaming doc, it is following the comet 2.3.1 but this code extends Adapter class which is not in this version. I have updated my code and changed it to ClientSession.Extension.
To set the option for replayid , I have done as below at client side before handshake:
Map replayMap = new HashMap();
replayMap.put("ReplayFrom",36);
client.addExtension(new CometDReplayExtension(replayMap));
I was expecting that after getting conenct, I should be able to get the events from replyId 36 onwards but still I am only getting new events generated and not from replyId 36.

The extension file which I updated is also attached. please see the file.

Could you please help me how to use this extension.
CometDReplayExtension.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions