Open Source API Gateway

wsInterceptor

Version

Adds a custom frame interceptor: a Spring bean implementing WebSocketInterceptorInterface, which receives every message and decides whether to pass it on.

Syntax

wsInterceptor:
refid: <string> # required
wsInterceptor:
  refid: <string> # required

Attributes

NameRequiredDefaultDescriptionExamples
refidtrue-Spring bean id of the referenced interceptor.myInterceptor

Can be used in