Re: Duplicated messages

2011-03-07 Thread kafka399
I had used Queue unintentionally until I found, that my configuration is wrong, but the result was the same and the messages were duplicated. Anyway, the topic is non-durable, so I don't see harm in it. public void sende(Integer tickerId, Integer field, Integer size, Long timestamp) {

Re: Duplicated messages

2011-03-04 Thread Ron Piterman
To make sure messages are delivered once only, use a queue. Greetings, RP On 04.03.11 22:49, kafka399 wrote: What can be reason for duplicated messages? I use jmsTemplate for messages production, ActiveMQ as a broker and one Topic for the moment which saves messages in database. I have up to 10