-
1. Re: Processing out bound messages
davsclaus Feb 18, 2009 12:42 AM (in response to brett_brettl)Hi
If I understand you correctly you have a route in principle as:
from -> process (A) -> to
And in process (A) you modify the exchange so its content is how you want it to be before you send it to TO
And now afterwards you want to modify it before its returned to FROM? You can do it by adding another process step (B) where you can modify the exchange
from -> process (A) -> to -> process (B)
So what happens now is that when the route reached the end (the last node in the path, that is process B). then Camel will return to the start of the route directly (not by going reverse in all the nodes). So it jumps from process (B) -> from directly.
-
2. Re: Processing out bound messages
brett_brettl Feb 18, 2009 8:12 AM (in response to davsclaus)Thanks for the reply. I was confused since I was told that a Camel route would work like
from -> process(A) -> to when a message came into from and then
from <- process(A) <- to when to returned a reply
Brett