Thanks -- I need the queue size because I am not sure how to find out when i can send messages to a durable queue after i get JMS Exception that the queue is max-ed out. I was testing and I send 10000 message and I changed the jfile to 4 so I get Queue Filled Exception. Then I started a receiver to read the Messages from the queue. After the receiver has finished reading the sender should be able to start sending more messages --- But my test sender does not know when to do this. I need some kind of notifications from JMS Client API that I am able to send. B/C when I tried to send after the Queue is filled -- I get JMS Exception and i can not send any more until I restart the app.
So I was thinking to prevent to get in to this situation - but this is not the best solution. Is there a way that I could get notification that Connection for queue is good to be sent and do you have sample code for this? Thanks -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Jave-Client-with-C-Broker-Messages-in-Queue-size-tp7055301p7068113.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
