[rabbitmq-discuss] JavaClient HeartbeatSender

Michael Klishin mklishin at gopivotal.com
Fri Feb 21 11:29:34 GMT 2014


On 21 Feb 2014, at 15:09, Dmitry Andrianov <dmitry.andrianov at alertme.com> wrote:

> I think I understood. If HeartbeatSender is the only piece of RabbitMQ which creates its own executor (given that I tell it to use another executor for consumer work pool), then yes, I can use a custom thread factory and always return the same thread. This effectively make all HeartbeatSenders to share the same thread and yes, it is what I want.

Since your use case is presumably not user facing, feel free to build RabbitMQ Java client from branch bug14587
and give it a try (ant dist && ant javadoc).

MK

Software Engineer, Pivotal/RabbitMQ




More information about the rabbitmq-discuss mailing list