Re: Keeping the messages in a queue or topic during a day

2011-06-13 Thread serious
Thanks a lot Mr Tully, this is the right solution. So, to sum up : - you first have to configure the broker by tweaking its "conf/activemq.xml" configuration file : [code]

Re: Keeping the messages in a queue or topic during a day

2011-06-06 Thread serious
@Gary : thanks for the pointer, this looks like the ideal solution. But I can't make it work, here is some code that does not work as expected : (Note : this is some C# using the NMS API but this is very close to Java+JMS) [code]// Generate a new unique topic name string retroactiveTopicName = "t

Re: Keeping the messages in a queue or topic during a day

2011-06-01 Thread serious
@Christian : thanks for your answer; this is indeed the current implementation, but the subscribers need to be known in advance, so a new one can't be used at the last minute to carry out the tasks. I guess this scenario is not an expected use-case for a queue because this is more a data-storing i

Re: Keeping the messages in a queue or topic during a day

2011-06-01 Thread serious
I guess this silence means : "No, there is no way to do that with ActiveMQ" :) So, do you know any other tool that could fit the above needs, without having to implement a new one from scratch ? Thanks in advance. -- View this message in context: http://activemq.2283324.n4.nabble.com/Keeping-th

Re: Keeping the messages in a queue or topic during a day

2011-05-31 Thread serious
@Gary Tully and Marcelo Jabali : thanks a lot for your answers. Indeed durable topics handle the reliability issue caused by subscribers shutting down. I have another requirement : I'd like that any new subscriber receives all the messages of a queue/topic posted during the whole day. Here is a s

Keeping the messages in a queue or topic during a day

2011-05-30 Thread serious
Hello, here are two scenarios that illustrate the point : - a logging system : some applications send exceptions messages to a topic/queue; a logging client will listen to the topic/queue. But each time the client picks a message, it is deleted from the queue and if the client stops and reconnects