static boolean showBug = true;
public static final Long SENDER_INTERVAL = 1000l;
public static final Long REPLY_DELAY = showBug ? SENDER_INTERVAL + 500l : SENDER_INTERVAL - 500l;
public static final Long SEND_TIMEOUT = REPLY_DELAY * 2; //used for DeliveryOptions of the sender
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I investigated my reproducer again and found out that the consumer
actually does not vanish within the timeout of the sender but outsite of
the timeout.
I think that the response time increases on every
iteration until 3 seconds have been reached because there is only on
worker thread that executes the blocking code on the worker thread and
is forced to sleep for 1.5 seconds every second...
So the reproducer does not exactly reflect the issue that I intended to reproduce. In my current app the consumer does not get invoked for every message send to the eventbus, although beeing completely non-blocking and only using the event loop context (without worker verticles).