// and get its associated org.apache.qpid.server.model.Exchange. We can do a look up by ID
// because we needed to use ObjectIds that were based on names in order to allow qpid-config
// to work, so we may as well make use of this convenience here too.
if (alternateExchange != null)
{
ObjectId objectId =
new ObjectId("", "org.apache.qpid.broker:exchange:" + alternateExchange, 0);
// Look up Exchange QmfAgentData by ObjectId from the Agent's internal Object store.
QmfAgentData object = agent.getObject(objectId);
if (object != null)
{