Manohar B created QPID-4232:
-------------------------------
Summary: exception on reception of message after
subscriptionmanager.start()
Key: QPID-4232
URL: https://issues.apache.org/jira/browse/QPID-4232
Project: Qpid
Issue Type: Bug
Components: C++ Client
Affects Versions: 0.16, 0.14
Environment: Red Hat Enterprise Linux Server release 6.2 (Santiago)
Reporter: Manohar B
I have written a qpid cpp client program, in which I have created a message
listener.
try{
cout << "Trying to open a connection" << endl;
connection.open("1.1.1.2", 10002);
session = connection.newSession();
SubscriptionManager subscriptions(session);
Listener listener(subscriptions);
subscriptions.subscribe(listener, receiver_queue);
subscriptions.start();
sleep(10);
}
catch(const std::exception& error) {
DEBUG(DBG_ERR, (char *)"AMQP-[%s]: Connection Error [%s].",
__func__,error.what());
connection.close();
return RESULT_FAILURE;
}
After returning from subscriptions.start(), I sent a message from server,
which is received at my program, but it failed with following error. Am I
missing something here.
I tried with subscriptions.run(), which is working fine.
please let me know, is this a bug ?
Thanks
Manohar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]