Processor sending new message

2011-01-07 Thread Mark Webb
I have a processor that is handling messages and doing some metrics on
the messages.  If a certain threshold is hit I would like to send a
new message to a queue that subscribers can receive.  Is this
possible?

So for example, you have a processor that receives messages.  After
every 100 messages, the processor sends a new message to a subscriber
stating that 100 messages have been received.

Thanks,
Mark


Re: Processor sending new message

2011-01-07 Thread Norman Maurer
Sure.. You could use the ProducerTemplate.send(...) for that.

Bye,
Norman


2011/1/7 Mark Webb elihusma...@gmail.com:
 I have a processor that is handling messages and doing some metrics on
 the messages.  If a certain threshold is hit I would like to send a
 new message to a queue that subscribers can receive.  Is this
 possible?

 So for example, you have a processor that receives messages.  After
 every 100 messages, the processor sends a new message to a subscriber
 stating that 100 messages have been received.

 Thanks,
 Mark