On 15/10/2007, Paulo Ramos <[EMAIL PROTECTED]> wrote:
>
> I want to use Camel to make a procedure test to an application. The test
> program must have configurable number of simultaneous threads.
>
> I have find this example:
> rom("activemq:queue:SOMETHING").pool(5 [min], 15 [max]).process(new
> ExpensiveMessageEnricher()).to("activemq:queue:SOMEWHERE_ELSE");
>
> How i can implement this solution using Spring?
> There is another way?You can use the <thread> element <route> <from uri="activemq:queue:SOMETHING""/> <thread coreSize="5" maxSize="15"/> <bean ref="myEnricher"/> <to uri="activemq:queue:SOMEWHERE_ELSE"/> </route> -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com
