Hi
How do I use mqueue (message queue) in a c program on a Linux based system?
I'm looking for some good code examples that can show how this is done in a correct and proper way, maybe a howto.
Thanks
...
Hi all, here is my situation.
I want to have a browse function for messages pending on a durable subscription which is using managed queues (so I can not access the subscription's queue directly).
If this was a queue, I would simply use something like
remoteDestination = session.QueueManager.AccessQueue(
remoteQue...
If, under UNIX/Linux/BSD/OSX, I use this sequence of APIs in Application A:
msgq_id = mq_open( full_queue_name,
O_RDWR | O_CREAT,
S_IRWXU | S_IRWXG,
&msgq_attr);
mq_send(msgq_id, ptrData1, len1, 0);
mq_send(msgq_id, ptrData2, len2, 0);
...
and thi...