There are 5 different types of scopes for the Property Mediator, namely
- Synapse (Default)
- axis2
- axis2-client
- Transport
- Operation
To understand the difference between Axis2 and Axis2-client you have to know about the Synapse scope first
Properties set in Synapse scope last as long as the request-response transaction exists.
Axis2 scope has a much shorter lifespan compared to Synapse and is mostly used to pass parameters to the Axis2 Engine
Axis2-client is similar to Synapse. The difference is that axis2-client scope can be accessed inside the mediate() method of a custom mediator. This custom mediator however needs to be configured using a Class Mediator