Skip to content

Commit 99406af

Browse files
Channel::declareQueue() passive and durable flags were in conflict
1 parent 9c86f0d commit 99406af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/channelimpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ bool ChannelImpl::removeExchange(const std::string &name, int flags)
244244
bool ChannelImpl::declareQueue(const std::string &name, int flags, const Table &arguments)
245245
{
246246
// send the queuedeclareframe
247-
return send(QueueDeclareFrame(_id, name, flags & passive, flags & durable, flags & durable, flags & autodelete, flags & nowait, arguments));
247+
return send(QueueDeclareFrame(_id, name, flags & passive, flags & durable, flags & exclusive, flags & autodelete, flags & nowait, arguments));
248248
}
249249

250250
/**

0 commit comments

Comments
 (0)