Hi Aneess

I could not find any issue in your code. Are you sure that your program is
not sending only 300 messages or exiting by timeout?
This issue happens even with something like that?
while(true) {
   producer.send(msg);
}

I suggest you to check the sample from ActiveMQ - from
your installation folder example/src/ProducerTool.java

-- 
Márcio Geovani Jasinski

Reply via email to