Thanks for the quick response James.

I've tried what I understood by your suggestion (and in fact started
scattering the cacheLevelName in other places as well!) but I still see the
problem:

from("activemq:IN_QUEUE?disableReplyTo=true&cacheLevelName=CACHE_CONSUMER")
         .setHeader(RoutingStatics.HEADER_HASHANDLER, hasHandlerExpression)
         .setHeader(RoutingStatics.HEADER_ISDOCBASED, isDocBasedExpression)
.to("activemq:OUT_QUEUE?disableReplyTo=true&cacheLevelName=CACHE_CONSUMER");

Is this what you intended, or do you mean on the external consumer (the
engines reading from the OUT_QUEUE)?

I've also tried with CACHE_CONNECTION because it sounded like the name might
not have changed yet in the version of spring I have in AMQ (2.0.6).

thanks,

-Dominic
-- 
View this message in context: 
http://www.nabble.com/Getting-lots-of-TIME_WAIT-sockets-tp16119896s22882p16124277.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to