close method

Future close (String correlationId, List components)

Closes multiple components.

To be closed components must implement ICloseable interface. If they don't the call to this method has no effect.

  • correlationId (optional) transaction id to trace execution through call chain.
  • components the list of components that are to be closed. Returns Future that receives error or null no errors occured.

See closeOne See IClosable