* Factory method to create an Exchange Declare Event Object with timestamp of now.
* @return the newly created Exchange Declare Event Object.
*/
public QmfEvent createExchangeDeclareEvent()
{
QmfEvent exchangeDeclare = new QmfEvent(_exchangeDeclareSchema);
exchangeDeclare.setSeverity("info");
exchangeDeclare.setValue("altEx", ""); // Java Broker can't set Alternate Exchange on Exchange
exchangeDeclare.setValue("args", Collections.EMPTY_MAP);
exchangeDeclare.setValue("autoDel", getBooleanValue("autoDelete"));
exchangeDeclare.setValue("disp", "created");
exchangeDeclare.setValue("durable", getBooleanValue("durable"));
exchangeDeclare.setValue("exName", _name);
exchangeDeclare.setValue("exType", getStringValue("type"));
// TODO Not sure of a way to get these for Java Broker Exchange.
//exchangeDeclare.setValue("rhost", _connection.getName());
//exchangeDeclare.setValue("user", getStringValue("authIdentity"));
return exchangeDeclare;
}