@Configuration @EnableWebSocketMessageBroker @Conditional(value=EnableWebSocketCondition.class) public class PaywallWebSocketConfig extends java.lang.Object implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
Set's up on dynamic queue /queue/paywall/checksettlement/{preImageHash} at end point '/paywall/api/checkSettlementWebSocket' with SockJS support
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHECK_SETTLEMENT_QUEUE_PREFIX |
Constructor and Description |
---|
PaywallWebSocketConfig() |
Modifier and Type | Method and Description |
---|---|
void |
configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
void |
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config) |
void |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
public static final java.lang.String CHECK_SETTLEMENT_QUEUE_PREFIX
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
configureMessageBroker
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
registerStompEndpoints
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
public void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientInboundChannel
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer