Håkon, Using a <jms:consumer/> you can specify to use a synchronous request and specify the number of requests that can be handled simultaneously, which already gives you some basic control over the amount of work done by the ESB. Camel has a few constructs (http://activemq.apache.org/camel/delayer.html and especially http://activemq.apache.org/camel/throttler.html) that allow you to slow down message once they're in the ESB (e.g. like for your example with the web service that can only handle x exchanges / time period).
Regards, Gert Håkon Sagehaug wrote:
Hi Is there a way of configurationg the jms queue in servicemix, i.e "this web service can only x request in some persiod in time" or some thing similar? cheers, Håkon
