You have to use the nAdmin API, this information is not available on the client API:
nLeafNode com.pcbsys.nirvana.nAdminAPI.nLeafNode.findDeadEventStore()
import com.wm.app.b2b.server.ServiceException;
import com.pcbsys.nirvana.client.nIllegalArgumentException;
import com.pcbsys.nirvana.client.nSessionAttributes;
import com.pcbsys.nirvana.nAdminAPI.nAdminIllegalArgumentException;
import com.pcbsys.nirvana.nAdminAPI.nLeafNode;
import com.pcbsys.nirvana.nAdminAPI.nRealmNode;
public static final void getChannelInfo(IData pipeline) throws ServiceException
{
nRealmNode nrm = null;
nLeafNode leaf = null;
nLeafNode dsel = null;
IDataCursor pipelineInCursor = pipeline.getCursor();
String realm = IDataUtil
.getString(pipelineInCursor, "realm" );
String name = IDataUtil
.getString(pipelineInCursor, "channel" );
pipelineInCursor.destroy();
try
{
nrm = new nRealmNode(new nSessionAttributes( realm ));
nrm.waitForEntireNameSpace(1000);
leaf = (nLeafNode) nrm.findNode(name);
dsel = leaf.findDeadEventStore();
}
catch (nIllegalArgumentException
| nAdminIllegalArgumentException e)
{ throw new ServiceException(e); }
catch (Exception e) { throw new ServiceException(e); }
IDataCursor pipelineOutCursor = pipeline.getCursor();
if (dsel != null)
{
IDataUtil.put( pipelineOutCursor,
"deadEventStore",
String.valueOf(dsel.getAbsolutePath()));
}
pipelineOutCursor.destroy();
}
#Integration-Server-and-ESB#Universal-Messaging-Broker#webMethods