You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by beeeph <be...@gmail.com> on 2008/10/29 18:52:43 UTC

Unable to recieve messages in vs2005-activemq-example for v2.2.1 of ActiveMQ-CPP API

I have the ActiveMQ-CPP 2.2.1 Visual Studio 2005 project compiling and
running.  In the console window, it shows the messages are being sent,
though they're not being received.  I'm new to ActiveMQ and don't even know
where to begin troubleshooting.  Any thoughts/suggestions/good place to
start would be a great help.

Thanks in advance!


-- 
View this message in context: http://www.nabble.com/Unable-to-recieve-messages-in-vs2005-activemq-example-for-v2.2.1-of-ActiveMQ-CPP-API-tp20232354p20232354.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Unable to recieve messages in vs2005-activemq-example for v2.2.1 of ActiveMQ-CPP API

Posted by beeeph <be...@gmail.com>.
Hey Tim,

Thanks for your help on this.  I resolved the issue by running a stock build
of the ActiveMQ 5.1.0 binary.  Originally, I was running a jsmooth version
of the 5.1.0 binary that was compiled by a coworker and that was somehow
preventing my activemq-cpp 2.2.1 code from consuming messages.  

Thanks again for your help on this.
Joe


Timothy Bish wrote:
> 
> 
> On Wed, 2008-10-29 at 13:31 -0700, beeeph wrote:
>> I'm using the stock example code for v2.2.1.
>> 
> 
> Have you have any changes to the example code?
> What broker version are you running?
> Any other changes you might have made since moving from 2.0.1 to 2.2.1?
> 
> Regards
> Tim.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-recieve-messages-in-vs2005-activemq-example-for-v2.2.1-of-ActiveMQ-CPP-API-tp20232354p20254043.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Unable to recieve messages in vs2005-activemq-example for v2.2.1 of ActiveMQ-CPP API

Posted by Timothy Bish <ta...@gmail.com>.
On Wed, 2008-10-29 at 13:31 -0700, beeeph wrote:
> I'm using the stock example code for v2.2.1.
> 

Have you have any changes to the example code?
What broker version are you running?
Any other changes you might have made since moving from 2.0.1 to 2.2.1?

Regards
Tim.


Re: Unable to recieve messages in vs2005-activemq-example for v2.2.1 of ActiveMQ-CPP API

Posted by beeeph <be...@gmail.com>.
I'm using the stock example code for v2.2.1.

Thanks,
Joe


Timothy Bish wrote:
> 
> On Wed, 2008-10-29 at 10:52 -0700, beeeph wrote:
>> I have the ActiveMQ-CPP 2.2.1 Visual Studio 2005 project compiling and
>> running.  In the console window, it shows the messages are being sent,
>> though they're not being received.  I'm new to ActiveMQ and don't even
>> know
>> where to begin troubleshooting.  Any thoughts/suggestions/good place to
>> start would be a great help.
>> 
>> Thanks in advance!
> 
> Are you running the stock example code or something that you wrote
> yourself 
> to use the activemq-cpp library?  Forgetting to call connection.start() is
> a pretty common gotcha when using JMS, and CMS.  
> 
> Regards
> Tim.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-recieve-messages-in-vs2005-activemq-example-for-v2.2.1-of-ActiveMQ-CPP-API-tp20232354p20235314.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Unable to recieve messages in vs2005-activemq-example for v2.2.1 of ActiveMQ-CPP API

Posted by Timothy Bish <ta...@gmail.com>.
On Wed, 2008-10-29 at 10:52 -0700, beeeph wrote:
> I have the ActiveMQ-CPP 2.2.1 Visual Studio 2005 project compiling and
> running.  In the console window, it shows the messages are being sent,
> though they're not being received.  I'm new to ActiveMQ and don't even know
> where to begin troubleshooting.  Any thoughts/suggestions/good place to
> start would be a great help.
> 
> Thanks in advance!

Are you running the stock example code or something that you wrote yourself 
to use the activemq-cpp library?  Forgetting to call connection.start() is
a pretty common gotcha when using JMS, and CMS.  

Regards
Tim.