camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Mueller <p...@routecloud.com>
Subject Way for a processor to spawn new exchanges
Date Mon, 04 Jan 2010 00:51:44 GMT

Hey all, 

I have an incoming message in an exchange that needs to be processed.  The
processing of this message may create more messages. This is not a spliting
action, in one case for example, data is analyzed and if the result of a
computation is > X, a new alert message needs to be sent down a different
camel route.

My question is: Is there a "standard" way for a processor (which has one
exchange with an in and out message) to create one or more new exchanges and
send it off on it's way.  If so, since this exchange is created internally,
and not from any component, how do you tell the exchange what route it is to
take?  Is this what "direct" or "seda" is used for?

thanks
-pete
-- 
View this message in context: http://old.nabble.com/Way-for-a--processor-to-spawn-new-exchanges-tp27007460p27007460.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message