I hope this helps:
//create message
var mes = new Message();
//set priority
mes.DeliveryProperties.SetPriority(MessageDeliveryPriority.VERY_HIGH);
Regards,
Adam
W dniu 2011-01-03 14:18, Sanath Prudhvi (JIRA) pisze:
How to set Message Priority
---------------------------
Key: QPID-2988
URL: https://issues.apache.org/jira/browse/QPID-2988
Project: Qpid
Issue Type: Bug
Components: AMQP Compliance
Affects Versions: 0.8
Environment: VS 2008
Reporter: Sanath Prudhvi
Priority: Critical
Hi,
I am new user to AMQP . I am using Apache Qpid implementation and it's
really very good in working.
But I need to set Priorities to the message I have to send to server and
Server must accept the high prirority
message and give reply immediately ( I mean server should process the messages
based on their
priorities). Please suggest me the way to set the priorities for message. I am
using C#.Net as client.
thanks,
-Sanath
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]