Thanks for your explanation, but here, my code:
In the requester:
char * corrId;
pn_bytes_t bytes = pn_bytes(correlationId.size(), corrId);
id.type = PN_STRING;
id.u.as_bytes = bytes;
and after, send it
I see on the broker, the correlationId is correctly setted, so no pb.
after I wait the answer, but I would like (like JMS) only wake up on an
answer at my question (and the correlationId is here to do that)
MessageConsumer* consumer = session->createConsumer(destination,
"JMSCorrelationID='" + correlationId + "'");
But with qpid proton and messenger, if I do that:
I get the response, and I does not accept it, if the correlationId recieve,
is not the good one, but for me, it's not a good practice, because we
retrieve the message (network traffic) in right case, but in wrong case too.
So I would like to the same things like CMS, but.... how????
View this message in context:
Sent from the Apache Qpid Proton mailing list archive at Nabble.com.