Thanks Aleksandar! Tim suggested similar solution yesterday, and I tried ...
I'll try again. Now I hope that you guys understand what I want, and do you
still think that nobody needs to do like this? The new suggestions of Tim
seem OK to me as well, though they are new for me, I'll try them as well
Something like this:
f(string &queuename, string &text)
{
...
if (queueName Existing) // is it possible to check if a queue exists in
the session???
destination = session->createQueue( queueName );
else
// queue does not exist, something wrong
return;
producer = session
"So are you asking why you have to call 'createQueue' on the client side?"
--> YES!
"If I understand what you asking then calling the createQueue doesn't
create a new one if there's already on there that matches the name
you've given it, it just create the local representation of the queue
object
Then it's will be very strange indeed that nobody needs to do what I am
supposed to do. Why do we have to create a queue in order to send a message
even if the queue exists already?
I study the faq's carefully which Tim told me to do, but I am sorry that I
still don't find the solution. Put the pr
Thank you very much! In fact I read a lot of your posts on activeMQ.
I'm sorry that I still cannot find the solution by reading the faq. I hope
that you understand what I want: just send a textMessage to an existing
queue, that's it. Now the situation is as follows:
- if the queue does exist, no
I’m new here!
I am using activeMQ-CPP to develop an application in C++.
As you may know that we can send a textMessage to an queue, in most case we
use the following code:
-Destination *destination = session->createQueue("queueName");
-MessageProducer *producer = session->creat