use of org.apache.qpid.qmf2.common.QmfEvent in project qpid by apache.
the class Subscription method createSubscribeEvent.
/**
* Factory method to create a Subscribe Event Object with timestamp of now.
* @return the newly created Subscribe Event Object.
*/
public QmfEvent createSubscribeEvent() {
QmfEvent subscribe = new QmfEvent(_subscribeSchema);
subscribe.setSeverity("info");
subscribe.setValue("args", Collections.EMPTY_MAP);
subscribe.setValue("dest", getStringValue("name"));
subscribe.setValue("excl", _exclusive);
subscribe.setValue("qName", _qName);
//subscribe.setValue("user", getStringValue("authIdentity"));
return subscribe;
}
Aggregations