[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
Bijith, I saw that Andy closed your Jira saying that fix was done. I have the same problem like you - Is it working for you with trunk build? Thought Andy will comment what he fixed but didnt see any explanation. At my company we're thinking to use the JBoss core API instead of JMS - I see benefit on that but not sure how it will evolve in the future. Thanks, Abdel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248522#4248522 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
The solution I have used in the past is to create a new JMS session for every message I want to acknowledge separately. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247985#4247985 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
The solution I have used in the past is to create a new JMS session for every message I want to acknowledge separately. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247986#4247986 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
Thanks genman, However, I don't think I can adopt this approach as I have millions of messages to consume. Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248019#4248019 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
Yeah, Ive managed to recreate it and there is a bug there. One thing that exacerbates the issue is that you are acknowledging every message when you only need to ack 1. from the spec: anonymous wrote : CLIENT_ACKNOWLEDGE - With this option, a client acknowledges a | message by calling the message's acknowledge method. Acknowledging a | consumed message automatically acknowledges the receipt of all messages | that have been delivered by its session. | If you change this then you should be able to consume all the messages. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247504#4247504 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
mmThanks Andy. It worked after changing the ACKs as you suggested. Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247540#4247540 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
If I want to process messages and acknowledge each message only if the processing succeeds, How would I do that in JBM? i.e I want to consume all messages but ACK only a few of them. I mean something like Java Message Queue's Message.acknowledgeThisMessage(). Thanks Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247548#4247548 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
There is no such method Message.acknowledgeThisMethod() on the JMS API. JMS does not support the acknowledgement of specific messages. This is not specific to JBoss Messaging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247549#4247549 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
mm.. it seems I need to think of an alternative solution. Anyways, thank you Andy and Tim. I appreciate your help. Thanks Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247581#4247581 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
The JBM core api is more powerful than the JMS API in that if you call message.acknowledge() it will acknowledge all messages up to and including that one that have been delivered on the session. This differs from the JMS message.acknowledge() which acknowledges *all* messages that have been delivered on that session up until the time when you call it. There is a subtle but important difference there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247592#4247592 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
Hi Andy, Any update on this issue? I noticed that setting Client Window Size to 0 resolves this issue but that would cause receiveNoWait() API to return null most of the times. Thanks Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247469#4247469 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
I cant open the attachment, can you upload a tar archive View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4246646#4246646 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
Hi Jeff, I have attached all the java files in JIRA. Thanks Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4246673#4246673 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user