Hi

I have a new component (foo) that I am about to start writing.

The component works by producing new mesages to a seperate route, based on
the message it receives, and then it responds once complete.

bar:    -->      foo:                      1. (*bar: sends a message to
foo:)*
                    foo: --> x to baz:   *2. (foo: produces x new messages)*
bar:   <--       foo:                      3. (foo: foo responds)

So .. an example of this route (in my head looks like)

from("bar:abc)
            .to("foo:component?routeTo=baz:defg")

from("baz:defg")
           .to(....)

Is there a better way to design this up ?


(What is this pattern called ?)
Just some thoughts.

regards

Reply via email to