This commit is contained in:
Clebert Suconic 2017-02-15 08:36:04 -05:00
commit cdc974e71e
1 changed files with 4 additions and 2 deletions

View File

@ -443,8 +443,10 @@ public class AMQPSessionCallback implements SessionCallback {
final Receiver receiver) {
try {
if (address == null) {
receiver.flow(credits);
connection.flush();
synchronized (connection.getLock()) {
receiver.flow(credits);
connection.flush();
}
return;
}
final PagingStore store = manager.getServer().getPagingManager().getPageStore(new SimpleString(address));