Re: strange error when consume message from queue/topic.

2014-02-10 Thread cecchinoSMI
Have you considered to use an asyncronous receiver? Try to implement the asyncronous function onMessage(const Message*)...see the ActiveMq CMS documentation. -- View this message in context:

Ambiguous class names

2014-02-10 Thread cecchinoSMI
Hi to all, I'm trying to design GUI applications with VisualStudio2012 to test my Producer and Consumer activeMq CMS libraries. To explain my problem I attached, some pictures and code. I'm using: -ActiveMq cpp library 3.8.1 -Apache ActiveMq 5.8.0 -Visual Studio 2012 this is a part of the code

Re: Ambiguous class names

2014-02-10 Thread cecchinoSMI
If I don't use the namespace, I need to include manually all the header file that are necessary to implement my classit is not very elegant... -- View this message in context: http://activemq.2283324.n4.nabble.com/Ambiguous-class-names-tp4677683p4677691.html Sent from the ActiveMQ - User

Re: Ambiguous class names

2014-02-10 Thread cecchinoSMI
But...I say...why you call a file System.h in the folder cms::decaf when you well know that exist the same in the folder of windowsI'm locked cause now I can't use Windows Form in Visual C++ with cms libraries -- View this message in context:

Re: First chance exception

2014-02-06 Thread cecchinoSMI
I'm using ActiveMq 5.8.0 the code interested is yours (from one example): #include activemq/library/ActiveMQCPP.h #include decaf/lang/Thread.h #include decaf/lang/Runnable.h #include decaf/util/concurrent/CountDownLatch.h #include decaf/lang/Integer.h #include decaf/lang/Long.h #include

First chance exception

2014-02-05 Thread cecchinoSMI
Hi to all, I'm tryng to implement different kind of GUIs (producer and consumer), and I have some problem with them, expecially in the Consumer side. So I decided to start with the examples downloaded from the site to verifify if there are the same problems, and the response is: AFFERMATIVE. This

The big difference between Queue and Topic

2014-01-23 Thread cecchinoSMI
Hi to all, I'm not very satisfy by documentation that is fournished with activeMq-CMS project, to understand how I can do with a Queue and Topic. I well know what happen when I use a queue...but I don't know what happen when I use a TOPIC. I need a clear explaination and some examples, tipical

Re: The big difference between Queue and Topic

2014-01-23 Thread cecchinoSMI
Ok this is the documentation but how I specified in the message above, I need some examples (code) and I need an explanation to monitoring a Topic in my localhost. -- View this message in context:

Re: Acknowledgement question.

2014-01-20 Thread cecchinoSMI
Yes butI'm using a C++ application, you well know that CMS is written in C++so how I can use the example above...it is in JAVA!!! -- View this message in context: http://activemq.2283324.n4.nabble.com/Acknowledgement-question-tp2350620p4676524.html Sent from the ActiveMQ - User mailing

Re: Acknowledgement question.

2014-01-17 Thread cecchinoSMI
So how I can use the class JMSReplyto in my project? Give me an example -- View this message in context: http://activemq.2283324.n4.nabble.com/Acknowledgement-question-tp2350620p4676450.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Problem with function setCMSPriority

2014-01-15 Thread cecchinoSMI
Hi all, I have a problem with this function when I try to use it. Infact the function in the Debug seems to have good results, but when I try to check the validation in the localhost broker the priority of the messages are everytime the same...at value 4 (default value). I'm trying to design a