Messages and streams
Distinguish request-response, notifications, and ongoing frame streams.
Requests and notifications
HelloWorldAction demonstrates returning a Result for a request and sending a Notification through session.channel().send(Notification.builder()...). A notification can be initiated without a client request.
Frame streams
The stream and chat examples accept FrameStream
Manage the lifecycle
Handle closure, write failures, and business resource cleanup in real applications. Sleep loops in the example demonstrate message sending; they are not a complete production scheduling strategy.
Source reference
This guide is based on the following source or module documentation. Repository access is required.
nextrix-j/nextrix-examples/nextrix-example-app/src/main/java/io/nextrix/example/demo/helloworld/action/HelloWorldAction.java