Carlos Medina has created a functoid that can be used to extract context values from a message inside a map!

This is a very common problems and this approach is something I didn’t really consider.

Make sure you check out his post. He has sample code and the solution for download.