Message Headers - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

The websocket component uses 2 headers to indicate to either send messages back to a single/current client, or to all clients.

Key

Description

WebsocketConstants.SEND_TO_ALL

Sends the message to all clients which are currently connected. You can use the sendToAll option on the endpoint instead of using this header.

WebsocketConstants.CONNECTION_KEY

Sends the message to the client with the given connection key.