Hi James
The problem is resolved as I missed connection.start()
I could not connect either ways
But can u let me know about deleting the Queue contents as even I m setting
the Delivery mode to Non Persistent I am having a dispatch count of 6181
-Original Message-
From:
BTW your previous issue was in the FAQ too...
http://activemq.apache.org/i-am-not-receiving-any-messages-what-is-wrong.html
On 5/3/07, Jignesh ShaH [EMAIL PROTECTED] wrote:
This is the code of the producer with the explicit Broker running as service
on the same machine as the producer :
Yup I came to know that later
I wanna delete the contents of the Queue even if I am restarting the broker
the dispatch count just increases everytime
Regards
Jignesh
-Original Message-
From: James Strachan [mailto:[EMAIL PROTECTED]
Sent: Friday, May 04, 2007 3:02 PM
To:
On 5/4/07, Jignesh ShaH [EMAIL PROTECTED] wrote:
Yup I came to know that later
I wanna delete the contents of the Queue even if I am restarting the broker
the dispatch count just increases everytime
Dispatch count starts at zero and keeps growing as you run a broker.
If you use
Even if I send only 5 messages once every time the consumer fires a receive
consumer get the 5 messages even if I am using the non persistent delivery
mode and have set the connectionFactory.setDispatchAsync(false); also
connectionFactory.setOptimizedMessageDispatch(false);
Please let me know
What problems are you seeing? (You're not giving us much to go on)...
http://activemq.apache.org/support.html
On 5/3/07, Jignesh ShaH [EMAIL PROTECTED] wrote:
facing problems with explicit as well as embedded broker on the same machine
with the producer and consumer on different machine