camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <nor...@apache.org>
Subject Re: Processor sending new message
Date Fri, 07 Jan 2011 14:14:10 GMT
Sure.. You could use the ProducerTemplate.send(...) for that.

Bye,
Norman


2011/1/7 Mark Webb <elihusmails@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
>

Mime
View raw message