activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Consumer doesnt recieve messages from producer
Date Wed, 09 Sep 2009 20:44:23 GMT
On Wed, 2009-09-09 at 13:40 -0700, sharongi wrote:
> Hello everyone!
> 
> I've created 2 c++ classes: one is functioning as the consumer and one as
> the producer.
> I have 2 c++ projects (A and B), both defined as exe. application.
> I wish that one project will function as the consumer and the other one as
> the producer..for that purpose, I added the consumer class to project A and
> the producer class to project B.
> In the main class of project A I've started the consumer thread and in the
> main class of project B I've started the producer thread.
> >From some reason, the consumer can't seem to get any messages from the
> producer.
> I've tested the exact same code in one project and it worked perfectly.
> Can anyone seem to know what the problem is??

The usual culprit for consumers not getting messages is that you did not
call connection.start()

Regards
Tim.


-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/




Mime
View raw message