public Cluster destination ( final String ... destinations ) { final String applicationName = clusterId . applicationName ; return destination ( Arrays . stream ( destinations ) . map ( d -> new ClusterId ( applicationName , d ) ) . toArray ( ClusterId [ ] :: new ) ) ; }
Set the list of explicit destination that outgoing messages should be limited to .