On 01/19/2016 05:23 PM, jjw tectec wrote:
Hi Gordon,

Yes, changing the key name to queue name made messages flow end-to-end.
I had also suspected that the routing key wasn't set the way I wanted it
be. So I had tried to set and get routing-key property at the client sides:

publisher:
msg.setProperty("x-amqp-0-10.routing-key", "keyX");

subscriber:
cout << msg.getProperties()["x-amqp-0-10.routing-key"].asString();

But the above code caused the following compilation errors:

/usr/bin/ld: /tmp/ccNXSPL7.o: undefined reference to symbol
'_ZN4qpid5types7VariantD1Ev'
//usr/local/lib/libqpidtypes.so.1: error adding symbols: DSO missing from
command line

Do you know why was that?

Are you adding -lqpidtypes to your link options when compiling/linking?


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

Reply via email to