Huum !! Thank you... I will try this !!
David Budworth-3 wrote: > > temp queues are discarded when the creating session closes (goes away, > crashes etc) > > also, if you want message to not be received when a client isn't there, > you > could always use topics > > > On 5/17/07, Gustavo Lanna <[EMAIL PROTECTED]> wrote: >> >> >> Right, but if client doesn't connect and others services send him >> messages, >> his queue grows and the server crashes. I wish the ActiveMQ server to >> remove >> or discard the messages !! >> >> >> James.Strachan wrote: >> > >> > You could use a temporary queue for each client; then all messages are >> > removed when the client disconnects >> > >> > On 5/17/07, Gustavo Lanna <[EMAIL PROTECTED]> wrote: >> >> >> >> Hi, >> >> >> >> How to configure ActiveMQ to discard/remove messages for disconnected >> >> clients. If I send a message to queue that has no clients listening, >> when >> >> a >> >> client connect to ActiveMQ his receive a message that I sent. I would >> >> like >> >> that the ActiveMQ delete the message if there is not client >> >> listening/connected. >> >> >> >> Thanks. >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Messages-for-disconnected-client-tf3773500s2354.html#a10669498 >> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > James >> > ------- >> > http://macstrac.blogspot.com/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Messages-for-disconnected-client-tf3773500s2354.html#a10671885 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Messages-for-disconnected-client-tf3773500s2354.html#a10680807 Sent from the ActiveMQ - User mailing list archive at Nabble.com.