How do I write a custom Processor which sends multiple messages?
Or you could write a custom processor which is injected with a ProducerTemplate instance that just generates N messages...
Then the ProducerTemplate can be injected - configured in spring.xml with its default URI
Note that the default output URI is inherited from the <template/> configuration. If you prefer you could specify that in the producer.send() method call