activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Alateras <>
Subject Creating MessageConsumer overhead
Date Tue, 10 Jul 2007 13:12:24 GMT
Just a general question about the overhead on creating MessageConsumer 
instances. Is it efficient to create MessageConsumers for relatively 
short conversations.

For example a loop which basically checks for a message, executes a 
policy on the message and then sleeps for some interval. Would it be 
efficient to create a new MessageConsumer at the start of each iteration.


View raw message