Thanks for reply.

I'm not sure, but problem seems to be resolved. I've moved call of
activemq::library::ActiveMQCPP::initializeLibrary() into static wrapper
method which user can call only once. I'm calling it from main function.
When activemq::library::ActiveMQCPP::initializeLibrary() was called during
every session initialization the problem occured. I thought that if it is
static, it could be called from any context any times. I must check it to be
sure that it was problem.

Now QT wrapper for ActiveMQ works pretty good. I've made async consumer and
producer(sends messages from internal list in separate thread).

Greetings.




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-sync-consumers-in-threads-tp4675514p4675608.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to