Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 834835 Details for
Bug 916975
Journal can not manage enqueues matching two bindings from headers exchange to the same queue
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch proposal
bz916975.patch (text/plain), 1.03 KB, created by
Pavel Moravec
on 2013-12-10 15:21:51 UTC
(
hide
)
Description:
Patch proposal
Filename:
MIME Type:
Creator:
Pavel Moravec
Created:
2013-12-10 15:21:51 UTC
Size:
1.03 KB
patch
obsolete
>Index: ../src/qpid/broker/HeadersExchange.cpp >=================================================================== >--- ../src/qpid/broker/HeadersExchange.cpp (revision 1543447) >+++ ../src/qpid/broker/HeadersExchange.cpp (working copy) >@@ -298,14 +298,17 @@ > PreRoute pr(msg, this); > > BindingList b(new std::vector<boost::shared_ptr<qpid::broker::Exchange::Binding> >); >+ std::map<std::string,boost::shared_ptr<qpid::broker::Exchange::Binding> > uniqueQueueMatch; > Bindings::ConstPtr p = bindings.snapshot(); > if (p.get()) { > for (std::vector<BoundKey>::const_iterator i = p->begin(); i != p->end(); ++i) { > if (match(i->args, msg.getMessage())) { >- b->push_back(i->binding); >+ uniqueQueueMatch[(*i).binding->queue->getName()]=(*i).binding; > } > } > } >+ for (std::map<std::string,boost::shared_ptr<qpid::broker::Exchange::Binding> >::const_iterator i = uniqueQueueMatch.begin(); i != uniqueQueueMatch.end(); ++i) >+ b->push_back(i->second); > doRoute(msg, b); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 916975
: 834835