Duplicated messages

2011-03-04 Thread kafka399
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 100 msg/s time to time. Thank you in advance. -- View this message in context: http://activemq.2283324.n4.nabble.

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) {