On Mar 3, 2010, at 3:29 AM, aness123 wrote: > > I'm using ActiveMQ 5.3.0 and Java Message Service to send and receive > message to/from several queues. I wanna send 1000 messages and more by my > program by using a MessageProducer. Unfortunately sending jams when I send > more than 300 messages. My program does not continue anymore. Here is some > code:
Are there any errors in the broker logs? What do your broker config look like? Are you keeping one connection and sending using it or getting a new one each time?
