Creating two messages going to two different receivers.
I have a scenarion where in we have to construct two xml outputs from one source message. My Java developer has implemented a Java map for the same (as a lot of aggregation of records have to be performed). But in the outputstream he is not able to construct two messages out of the outbound message.
Basically i route the error message via the second inbound message to a mail receiver informing him the conversions missing.
Please suggest how can i do so and how can i route the message to 2 different recievers as i dont have any filter between the messages.