Re: C# client stops receiving messages after getting ~400 of them

2009-09-13 Thread pPolak
SOLVED! (or so it seems :-)) As I said, all messages were the same except for the two-digit number at the end. Of course, there is only 100 numbers with two digits so naturally there were duplicated messages - and this was the main problem. As soon as I've set the connection's AcknowledgementMode

Re: C# client stops receiving messages after getting ~400 of them

2009-09-11 Thread pPolak
Timothy Bish wrote: > > If you could provide a short but complete sample app that demonstrate > the problem that would help to diagnose what the issue might be. > > Regards > Tim. > Hi Tim, yeah, that's a good idea. I've found out that this simple app can reproduce the error:

Re: C# client stops receiving messages after getting ~400 of them

2009-09-10 Thread pPolak
Maybe this will help someone: when I run that C# client, I check the http://localhost:8162/admin/queues.jsp and I see that the number of pending messages is lowered by some amount. Not lowering continuously by 1, but lowered once by ~400. Then the C# client is receiving messages for a few seco

RE: C# client stops receiving messages after getting ~400 of them

2009-09-10 Thread pPolak
Hi, thank you, I tried it, but it did not work :( P. ravindrabtp wrote: > > > Hi, > > Try changing policyentry in your activemq.xml for queues. Don't put any > memory limit, if you have to handle lot of messages. > > > >

Re: C# client stops receiving messages after getting ~400 of them

2009-09-10 Thread pPolak
pPolak wrote: > > (...) > I use this url to connect: failover:(tcp://WSSK809001:61616) > (...) > - sorry, that "WSSK809001" is the network name of my computer. -- View this message in context: http://www.nabble.com/C--client-stops-receiving-messages-aft

C# client stops receiving messages after getting ~400 of them

2009-09-10 Thread pPolak
Hi, I need help with this scenario: * two clients connecting to the same broker, one written in JAVA, the other one in C# * there are two queues, SentByJava and SentByCSharp * both clients have a consumer and a producer * JAVA producer sends messages to the SentByJava queue, C# producer sends me