register method

Future register (
  1. String correlationId
)

Registers the given connection in all referenced discovery services. This method can be used for dynamic service discovery.

  • correlationId (optional) transaction id to trace execution through call chain.
  • connection a connection to register. Return future that receives null is registered connection is succes. Throws error