Upon receiving the message, Session Manager applies ingress or egress adaptation rule in the administered order based on the direction. The adaptation rule checks whether the message meets the defined condition. If the message meets the defined condition, the administered variable populates the variable and administered actions in the administered order to adapt the message.