powered by Jive Software

Not getting specific pubsub node Discover Info(Field "name")

If I do following

DiscoverItems items = mgr.discoverNodes(null);
while(iItems.hasNext()) {
DiscoverItems.Item it = iItems.next();
String title = it.getName()

It returns all the nodes with all data. In this data, we get “name” field also for each node.

But if we do following (i.e. give specific node name)

DiscoverItems items = mgr.discoverNodes(“node name”);

Then it does not return the “name” field. So, we cannot get the value we have stored in this field.