After client.addTransportAddress(...), you can check if client.connectedNodes() is not null and is not empty, then TransportClient is connected.
Jörg -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEHuXKJ2QTaHZgEGASw3PTOi3u2XzLDG_6AWO1j_vV-2g%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
