title: Java - Is Spring's ReactorNettyWebSocketClient thread safe?
body: <p>I'm wondering what best-practice usage is of Spring's WebSocketClient implementation, ReactorNettyWebSocketClient. I can't find details of this anywhere in the documentation.</p>
  
  <p>Can I use this client as a singleton for all my web socket connections to different URLs? I have upwards of ten servers I need to connect to. Or should I instantiate a new instance per connection?</p>
  
  <p>For example, is this acceptable usage?</p>
  
  <pre><code>@Bean
  public WebSocketClient webSocketClient() {
      return new ReactorNettyWebSocketClient();
  }
  </code></pre>
  
  <p>Thanks in advance.</p>