I'm trying to set the correlationId (a.k.a. correlation_id on the RabbitMQ server) property on an AMQPMessage and then send the message our RabbitMQ server. The message is making it to the correct queue on the server but the correlation_id is not in the properties. Here's the code I'm trying:
// broker & exchange are attributes on the workflow
// corrID - i've tried type string and type Any
Is it possible to set this property? I can get the correlationId from the properties of a message - it does come off as a comma-separated "object" of ascii-code characters (i.e. 123456 is returned as 49,50,51,52,53,54). I have to do props.get("correlationId").toString() to convert it to string.
This is a bug that is in the process of being fixed.
Please contact GSS to get an update or wait they contact you back.
Thanks Christophe, I opened a SR last week and just waiting to hear back that it has been fixed.
It is coming your way. It just need to go through the complete process.
Question related to the above context in VCO
I can receive the properties, from the queue message subscription in VCO , but
when I try to send them through AmqpMessage , the receiving queue
is not just receiving the properties info. for eg appid, correlation id , timestamp , type etc.
var msg = new AMQPMessage();
var prop = new Properties();
msg.bodyAsText = "hello world";
msg.properties = prop;
Is this a problem with correlation id or with properties in general?