Hi Dhivya!
I guess message ID can be changed in case of multiple receivers.
When you define multiple receivers, PI creates the copy of original message for each receiver with new ID assigned to it.
In this case you can use DynamicConfigurationBean in Sender channel to store original message ID in the adapter-specific message header which is copied to every new message header.
Regards, Evgeniy.