Here's a test of my Sony NEX-7 with a Sony ECM-Z300 boom or shotgun mic hooked up. The newer version of this mic is the ECM-CG50. Note: The audio captured was only on one of the two stereo channels. This was easily fixed in post with Final Cut Pro X.
Special note: To hook a mono mic like an SM57 or 58 to a stereo camera like the Sony NEX-7 you can use this simple cable: http://www.amazon.com/HOSA-XLR-3-5mm-Sleeve-wired/dp/B000068NZC/