[jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer

2009-11-24 Thread PoonamAgarwal
Sorry gaohoward, I do not have a performance test to reproduce this. I reproduce this manually. 1. Are you sending 40k messages inside a loop in TopicExample. I mean do you do createConnection before you publish every message or are you re-using the connection object before you publish every mes

[jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer

2009-11-22 Thread gaohoward
Hello, I did a simple test and I couldn't see there is a problem. I used the topic example in JBM 1.x with some changes. I sent 40k messages and had a message listener. In its onMessage() I gave a 5 sec sleep. Tests shows in about 10 sec all messages have been sent while at the receiving end

[jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer

2009-11-20 Thread PoonamAgarwal
My subscriber is non-durable. Performance of non-durable should be better than a durable one. So, I don't think this will make a difference. My client code i.e. MessageListener looks like this: | public class FMEventSubscriber implements MessageListener { | | public void onMessage(Mess

[jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer

2009-10-22 Thread bershath27
What's your client application? Is it a plain JMS client ? Can I take a look at your client code please? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261651#4261651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=42616

[jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer

2009-10-19 Thread gaohoward
What kind of subscriber you create? Can you try durable and non-durable and see if they make any difference? Thanks. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261157#4261157 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin