Messaging layer for XAS