cb = new Runnable() {
public void run() {
PUBREC response = new PUBREC();
response.messageId(publish.messageId());
processed.add(publish.messageId());
send(new Request(0, response.encode(), null));
}
};
// It might be a dup.
if( processed.contains(publish.messageId()) ) {
cb.run();