[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-08 Thread vishalrao
| This looks like a bug to me. I can see in the code that the max size check is not being made when the transaction commits. | Thanks, Tim. Let me know if you will file a bug or want me to file it. Please include a link to instructions if you want me to file it as I am not aware of the

[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-07 Thread vishalrao
Hello Andy, The test for the first case involves using HermesJMS to look at the queue and make sure it is empty. And then running the following code: | | | import java.util.Date; | import java.util.Properties; | | | import java.io.IOException; | | import javax.jms.Connec

[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-07 Thread vishalrao
"ataylor" wrote : You'll probably find you aren't committing your transaction, add a session.commit() and you'll see the exception thrown. Hi Andy, Thanks for the response. I am doing a session.commit() and I am seeing the output that shows this in my code: | |// Start sen

[jboss-user] [JBoss Messaging] - Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-02 Thread vishalrao
Hi, I wanted to check with you first before I file a bug. With a non-transacted session, I try to send 200 messages to an empty queue with MaxSize set to 20 and on the 21st message, I get a JMSException and the final state of the queue shows 20 messages. This is exactly what I expect. However

[jboss-user] [JBoss Messaging] - Re: Signaling to Partial Queue to Stop Accepting New Message

2008-06-27 Thread vishalrao
Hey everyone, Still no responses. Please let me know if you need me to clarify the question. Also, any pointers to research materials or directions would be greatly appreciated. On this front, I've been running some experiments to see if I can use the MaxSize parameter to see if I can block f

[jboss-user] [JBoss Messaging] - Signaling to Partial Queue to Stop Accepting New Messages

2008-06-25 Thread vishalrao
Hi, I am using a 3 node cluster of JBoss Messaging (1.4.0.SP3) that I am running within JBoss AS 4.2.2. Suppose my cluster has clustered queues called Q1, Q2, Q3, and Q4 - each of whose set of messages is split across the cluster nodes as partial queues. How can I signal to the partial queues