Sounds like tendonitis. Glucosamine and MSM are good for joints yes, but they wont help the problem you have here. They assist in cartilage repair. Your problem is probably with your tendon. See a doctor or a physio (or both). Youll probably need something like a full week off with icing and anitflammatories.
Then a recovery process begins. This can potentially take months, you will need to follow the assigned exercises from the physio, to maintain the strength in the muscle attached to your tendon. Typically its gonna be higher rep, lower weight, and unilateral in nature. Possibly with a reduced ROM.
If you do have this as a problem, and ignore it, then you might wind up having to have cortizone injections and/or surgery.
No ballistic movements especially. You might have to stop hockey for a while.
See a professional. Joint pain is serious.