Kiran, Attach a transaction in message processing rules your message listener/message name .
Transaction logic :
In your BLS,create input transaction parameter of xml type and link ReceivedMessageXML to that property in message processing rule .
once you get message in to your transaction, you process ( save ) that message.
Hope this helps.
Thanks
Hari