Commit 86b77535 authored by Bruno Gomes's avatar Bruno Gomes

AIR EXAMPLE: add info regarding qp overflow in example

refs #112663
parent 946b0649
......@@ -23,8 +23,8 @@ QUEUING_PORT_ID_TYPE qpid;
/*---------------------------------------------------------
* function: test *
* prints a simple string *
* function: test *
* prints a simple string *
------------------------------------------------------------*/
......@@ -36,10 +36,11 @@ void test(PARTITION_ID_TYPE self_id) {
while(1) {
RECEIVE_QUEUING_MESSAGE(qpid, INFINITE_TIME_VALUE, msg, &len, &rc );
if (rc == NO_ERROR) {
if (rc == NO_ERROR)
pprintf ("Partition %d: %s\n", self_id, msg);
}
// pprintf(".");
else
if(rc == INVALID_CONFIG)
pprintf ("Partition %d Overflow: %s\n", self_id, msg);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment