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)
    {
        jmsTemplate.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
        
        Map map = new HashMap();
        map.put("tickerId", tickerId);
        map.put("field", field);
        map.put("size", size);
        map.put("timestamp", timestamp);
        jmsTemplate.convertAndSend("TopicName", map);
        
    }


--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Duplicated-messages-tp3335982p3338663.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to