activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Hanisch <matthias.hani...@camline.com>
Subject Artemis - Cannot get scheduled messages to work with AMQP and Topic
Date Wed, 18 Oct 2017 13:49:55 GMT
Hi,

I would like to send a message deferred on a topic (multicast address), but
my problems is that the listener immediately receives the message.

The producer is build based on qpid-jms-client 0.25. I have tried to set
JMSDeliveryTime and/or _AMQ_SCHED_DELIVERY messsage property in the
following way

            long deliveryTime = System.currentTimeMillis() + 60000;
            message.setJMSDeliveryTime(deliveryTime);
            message.setLongProperty("_AMQ_SCHED_DELIVERY", deliveryTime);

Is there anything else I am missing, some setup or extra properties? Or is
this supported at all?
Or is it a problem using multi-cast?

I am using artemis 2.4.0-SNAPSHOT from last week.

Many thanks in advance,
Matthias

-- 
camLine GmbH
85238 Petershausen, Industriering 4a, Deutschland
Amtsgericht München HRB 88821
Geschäftsführer: Heinz Linsmaier (CEO), Bernhard Jofer, Georg Ruetz
<http://www.camline.com/en/camline/events.html>
<http://www.camline.com/en/camline/events.html> 
<http://www.camline.com/en/camline/events.html>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message