use of com.sun.messaging.jmq.jmsserver.multibroker.raptor.ClusterDestInfo in project openmq by eclipse-ee4j.
the class ChangeRecord method recordRemoveDestination.
public static void recordRemoveDestination(Destination d, ChangeRecordCallback cb) throws BrokerException {
ClusterDestInfo cdi = ClusterDestInfo.newInstance(d);
GPacket gp = cdi.getGPacket(ProtocolGlobals.G_REM_DESTINATION, true);
ChangeRecordInfo cri = storeChangeRecord(gp, cb);
d.setCurrentChangeRecordInfo(ProtocolGlobals.G_UPDATE_DESTINATION, cri);
}
use of com.sun.messaging.jmq.jmsserver.multibroker.raptor.ClusterDestInfo in project openmq by eclipse-ee4j.
the class ChangeRecord method recordUpdateDestination.
public static synchronized void recordUpdateDestination(Destination d, ChangeRecordCallback cb) throws BrokerException {
ClusterDestInfo cdi = ClusterDestInfo.newInstance(d);
GPacket gp = cdi.getGPacket(ProtocolGlobals.G_UPDATE_DESTINATION, true);
ChangeRecordInfo cri = storeChangeRecord(gp, cb);
d.setCurrentChangeRecordInfo(ProtocolGlobals.G_UPDATE_DESTINATION, cri);
}
Aggregations