activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kafka399 <>
Subject Re: Duplicated messages
Date Mon, 07 Mar 2011 10:29:10 GMT
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
    	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:
Sent from the ActiveMQ - User mailing list archive at

View raw message