[rabbitmq-discuss] Securing RabbitMQ

Steve Powell steve at rabbitmq.com
Thu Feb 2 16:57:46 GMT 2012


Sorry, Paul, but I don't understand the question.

To what Consumer are you referring? It is not possible
to instantiate a java interface class (which Consumer is).

Perhaps you are using another client?

The Java Client's threading policy for Consumer callbacks
changed in 2.7.0. You might like to read the blog entry(1) and
the notes in the Java Client API pages(2).

Steve Powell
steve at rabbitmq.com
[wrk: +44-2380-111-528] [mob: +44-7815-838-558]
(1) http://www.rabbitmq.com/blog/2011/12/20/rabbitmq-2-7-0-and-2-7-1-are-released/
(2) http://www.rabbitmq.com/api-guide.html ('Channel thread-safety' and 'Advanced connection options')

On 1 Feb 2012, at 19:57, Bell, Paul M. wrote:

> My question: is it possible to adjust the "concurrency" of a consumer in real time? That is, when I create a consumer with
>     Consumer consumer = new Consumer("q1", "q1", 3);
> I get a single consumer that runs 3 threads. Can I adjust this "3" dynamically?
> Thanks again.
> -Paul

More information about the rabbitmq-discuss mailing list