[jira] [Updated] (PROTON-949) proton doesn't build with ccache swig
[ https://issues.apache.org/jira/browse/PROTON-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robbie Gemmell updated PROTON-949: -- Fix Version/s: 0.12.0 Added fix-version. > proton doesn't build with ccache swig > - > > Key: PROTON-949 > URL: https://issues.apache.org/jira/browse/PROTON-949 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c >Reporter: michael goulish >Assignee: Alan Conway > Fix For: 0.12.0 > > > Thanks to aconway for finding this and saving me a day of madness and horror. > On freshly-downloaded proton tree, if I use this swig: >/usr/lib64/ccache/swig > the build fails this way: > qpid-proton/build/proton-c/bindings/python/cprotonPYTHON_wrap.c:4993:25: > error: 'PN_HANDLE' undeclared (first use in this function) > PNI_PYTRACER = *((PN_HANDLE *)(argp)); > -- > but if I delete that swig executable, and use the one in /bin/swig , > then everything works. > yikes. > aconway believes the bug is in ccache-swig, not in proton, but I want to put > this here in case this bites someone else in Proton Land. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (PROTON-1041) Add recurring timer example to the reactive C++ documentation
[ https://issues.apache.org/jira/browse/PROTON-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otavio Rodolfo Piske updated PROTON-1041: - Attachment: recurring-timer-example.patch Proposed patch to add the missing example. > Add recurring timer example to the reactive C++ documentation > - > > Key: PROTON-1041 > URL: https://issues.apache.org/jira/browse/PROTON-1041 > Project: Qpid Proton > Issue Type: Bug > Components: cpp-binding >Affects Versions: 0.11, 0.12.0 >Reporter: Otavio Rodolfo Piske >Assignee: Cliff Jansen >Priority: Minor > Attachments: recurring-timer-example.patch > > > The C++ documentation is missing the recurring_timer.cpp example in its > documentation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (PROTON-1041) Add recurring timer example to the reactive C++ documentation
Otavio Rodolfo Piske created PROTON-1041: Summary: Add recurring timer example to the reactive C++ documentation Key: PROTON-1041 URL: https://issues.apache.org/jira/browse/PROTON-1041 Project: Qpid Proton Issue Type: Bug Components: cpp-binding Affects Versions: 0.11, 0.12.0 Reporter: Otavio Rodolfo Piske Assignee: Cliff Jansen Priority: Minor The C++ documentation is missing the recurring_timer.cpp example in its documentation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Re: Several queues on direct proton receiver?
On Wed, 2015-11-04 at 23:47 +0300, Michael Ivanov wrote: > Hallo, > > I have a question about direct message receive in proton. > > I tried to receive messages directly using amqp://~1.2.3.4 url. > It works but it seems that queue names in this case are ignored. > I.e. when I subscribe to amqp://~1.2.3.4/q1 I also get the messages > for amqp://~1.2.3.4/q2, q3 etc. > > Is it possible either receive only message for queue specified > in url or at least to get the target queue name from the received > message? > > Best regards, The direct_recv message is rather simple and just accepts any message it gets on the connection without looking at the link or message address. Normally the link address is used identify a queue or topic in a broker. You can see this address when the link is established or when you receive a message you can check the link it arrived on. Check the broker.hpp example on_link_opening() and on_message(). Cheers, Alan.