I have a implementation which is something as shown below.
Code:inputChannel | Filter | Splitter(1) ||||| Router / \ / \ / \ (SA) Splitter (2) / \\ OutputChannel(Queue) || | /|\ | / | \ | / | \ | / | \ | (SA) (SA) (SA) | / | \ | OutputChannel(Queue) | | Aggregator (which will aggregate the message based on the correlation key)
If you check the above implementation I have used 2 splitter.
one at the top & another at the branch of Router. Now when I aggregate the message (which takes a path of 2 splitter) I want to make sure that the messages which are processed by SA (which is splitted by second splitter) to be aggregate with the ones of the parent splitter,
Say for Example Splitter (1) generates 3 message which goes to router & then to second splitter(2) which internally creates 2 more message (i.e 3x2 =6) for each message received. SA will get 6 messages which will be processed & passed to aggregator. Now I want to make sure that I get all 6 messages grouped together. As of now I am getting only 3 messages since
springintegration_sequenceSize =3 in header.
can we override the springintegration_sequenceSize & springintegration_sequenceNumber in the second splitter.


Reply With Quote
