Help!: Generation of a unique queue name... weird results..OR

2016-04-01 Thread Flores, Paul A.
So here is the situation. I have a requester that is doing the following: const char* response_queue="#response_queue; {create: always}"; message.setReplyTo(Address(response_queue)); The responder that receives the message but when it tries Address

RE: Need Help!: Example of the use of Variant Type

2016-04-01 Thread Flores, Paul A.
An adaptation of what was shared with me by Matt (Thanks!) it compiles and appears to work! std::map rtnMapfromVar(const Variant::Map ){ std::map results; Variant::Map::const_iterator it; for (it =map.begin(); it != map.end();++it){

[c++] Multi-threaded proton and C++11

2016-04-01 Thread Alan Conway
I am working on a multi-threaded broker example for proton C++ and I am becoming more and more convinced that it doesn't make much sense to try to do this without C++11. There are two classes of issue: API: - inject() needs a way to represent a callback function. Without std::function this is

Re: Need Help!: Example of the use of Variant Type

2016-04-01 Thread Gordon Sim
On 01/04/16 15:45, Flores, Paul A. wrote: Thanks for the example. I was hoping for something a whole lot simpler. It appears to be a royal pain! Hopefully there is a simplistic example I can implement for my client! Anyone else?

RE: Need Help!: Example of the use of Variant Type

2016-04-01 Thread Flores, Paul A.
Thanks for the example. I was hoping for something a whole lot simpler. It appears to be a royal pain! Hopefully there is a simplistic example I can implement for my client! Anyone else? From: Matt Broadstone [mbroa...@gmail.com] Sent: Friday, April

Re: Need Help!: Example of the use of Variant Type

2016-04-01 Thread Matt Broadstone
On Fri, Apr 1, 2016 at 10:21 AM, Flores, Paul A. wrote: > Specifically I am looking at example for either how to "extract" a map > from a Variant (map) or to use map.find()? > > > > Could not find example on how to use/access Variant type data. > > > > Any

Need Help!: Example of the use of Variant Type

2016-04-01 Thread Flores, Paul A.
Specifically I am looking at example for either how to "extract" a map from a Variant (map) or to use map.find()? Could not find example on how to use/access Variant type data. Any help is appreciated. Paul

Re: SSL maximum message size?

2016-04-01 Thread rat...@web.de
True, for the trace I have left the maxFrameSize to its default value(appearantly 64). After this I tested with other frame size options in the connection (max-frame-size:16384 or 8192) I attached a new trace with the 16K setting, the effect is the same (endless loop) Trace16K.txt

Re: SSL maximum message size?

2016-04-01 Thread Gordon Sim
On 01/04/16 11:05, rat...@web.de wrote: I also tried with max-frame-size 16K or 8K but this does not seem to fix the problem. I also attached a protocol trace as well as a minimum example to reproduce the error. Maybe this is of help to someone. I also tried to understand what exactly is

Re: SSL maximum message size?

2016-04-01 Thread rat...@web.de
I also tried with max-frame-size 16K or 8K but this does not seem to fix the problem. I also attached a protocol trace as well as a minimum example to reproduce the error. Maybe this is of help to someone. I also tried to understand what exactly is happening within qpid but it is very hard for me

Re: Issues related to queue marked "excl"

2016-04-01 Thread Gordon Sim
On 01/04/16 07:51, Toralf Lund wrote: On 31/03/16 16:35, Gordon Sim wrote: On 31/03/16 15:31, Toralf Lund wrote: The reason why I assumed an exclusive *superscription* was that the I meant subscription, of course :-) queue is still there after the application stops. Aren't exclusive queues

Re: SSL maximum message size?

2016-04-01 Thread Gordon Sim
On 31/03/16 22:48, Steve Huston wrote: I haven't tried this, but the documentation suggests you can set it: http://qpid.apache.org/releases/qpid-0.32/messaging-api/cpp/api/classqpid_1_1messaging_1_1Connection.html#aed260d368e7a61444bd20536dd8ee0a8 Specifically set the 'max_frame_size'

Re: Issues related to queue marked "excl"

2016-04-01 Thread Toralf Lund
On 31/03/16 16:35, Gordon Sim wrote: On 31/03/16 15:31, Toralf Lund wrote: The reason why I assumed an exclusive *superscription* was that the I meant subscription, of course :-) queue is still there after the application stops. Aren't exclusive queues supposed to go way automatically? Only