43
Views
3
Comments
[SSE Push Event Hub] SSE Working in traditional Web
sse-server-event-hub-and-client
Service icon
Forge asset by Nuno Damaso
Application Type
Traditional Web

I am trying to call the broadcast action without being a service action from another espace (simple page with a button) different from the espace that contains the rest API. 

Then in a mobile application I have the listener binding to a received message action.

When I click in the button nothing occurs so my question is:

Is this prepared for traditional web instead of reactive?

2024-12-17 14-32-59
Matthias Preuter
 
MVP

Component only contains webblock for SSEEventlistener for React/Mobile/PWA 

2024-09-08 11-13-40
Nuno Damaso
 
MVP

Hi Filipe, I'll leave what we talked privately here to help others too:


- You say: "(...) without being a service action ", and this was the problem. 

The SSE component needs a HUB to be built and all broadcast communications with the HUB should be done through a Service Action as described in the tutorials and examples.


- "Is this prepared for traditional web instead of reactive? "

If your client app is Mobile/PWA/Reactive, the SSE Lib component is available. 

This has nothing to do with the HUB, that can be traditional or reactive.

I haven't build a client lib for traditional web, it shouldn't be hard, it's just Javascript, maybe on the next release.

2024-09-08 11-13-40
Nuno Damaso
 
MVP

Hi, 


Please check the new SSE Traditional Client lib that you can use together with the SSE Hub -> https://www.outsystems.com/forge/component-overview/12963/sse-traditional-client

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.