Many thanks Gordon. I tried using the selector while creating the Receiver for 
response queue (as per the example given 
https://lists.apache.org/thread/95ozl3hxf0cqzt0nxgbvwroddx39kq1w)
However, I get below exception -
std::exception Link detached by peer with amqp:unauthorized-access: AMQ119015: 
not authorized to create consumer, AMQ229032: User: FOOBAR does not have 
permission='CREATE_ADDRESS' on address 'XXXXX.ResQueue_L'

Best Regards,
Rahul

-----Original Message-----
From: Gordon Sim <g...@redhat.com> 
Sent: 31 March 2022 12:06
To: users@qpid.apache.org
Subject: Re: QPID C++ Queue handling

On Thu, Mar 31, 2022 at 11:30 AM rahul.sin...@morganstanley.com 
<rahul.sin...@morganstanley.com> wrote:
> 2) For the longer term/better solution, I will start looking into selector. 
> Is this within qpid C++ or proton layer. Any quick pointer will be highly 
> appreciated.

For proton C++:
https://github.com/apache/qpid-proton/blob/main/cpp/examples/selected_recv.cpp

For example with the old qpid::messaging API see e.g.
https://lists.apache.org/thread/95ozl3hxf0cqzt0nxgbvwroddx39kq1w


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional 
commands, e-mail: users-h...@qpid.apache.org


--------------------------------------------------------------------------------
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or 
views contained herein are not intended to be, and do not constitute, advice 
within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and 
Consumer Protection Act. If you have received this communication in error, 
please destroy all electronic and paper copies and notify the sender 
immediately. Mistransmission is not intended to waive confidentiality or 
privilege. Morgan Stanley reserves the right, to the extent permitted under 
applicable law, to monitor electronic communications. This message is subject 
to terms available at the following link: 
http://www.morganstanley.com/disclaimers  If you cannot access these links, 
please notify us by reply message and we will send the contents to you. By 
communicating with Morgan Stanley you consent to the foregoing and to the voice 
recording of conversations with personnel of Morgan Stanley.

You may have certain rights regarding the information that Morgan Stanley 
collects about you.  Please see our Privacy Pledge 
https://www.morganstanley.com/privacy-pledge for more information about your 
rights.

Reply via email to