スタートアップ(英語)
コミュニティ(英語)
トレーニング(英語)
チュートリアル(英語)
ドキュメント
API、AI、ツール (英語)
<flow name="sayHello">
<websocket:open-outbound-socket
path="/chat/hello"
config-ref="ws"
target="socketId"
targetValue="#[attributes.socketId]"/>
<websocket:send socketId="#[vars.socketId]" config-ref="ws">
<websocket:content>'Good morning!'</websocket:content>
</websocket:send>
</flow>
<flow name="sayHelloBack">
<websocket:inbound-listener
path="/chat/hello"
config-ref="ws"
outputMimeType="text/plain" />
<websocket:send socketId="#[attributes.socketId]" config-ref="ws">
<websocket:content>#['Good morning ' ++ attributes.socketId ++ '!']</websocket:content>
</websocket:send>
</flow>


