  Recent radio observations support a picture for star formation where there is
accretion of matter onto a central protostar with the ejection of molecular
outflows that can affect the surrounding medium. The impact of a supersonic
outflow on the ambient gas can produce a strong shock that could accelerate
particles up to relativistic energies. A strong evidence of this has been the
detection of non-thermal radio emission coming from the jet termination region
of some young massive stars. In the present contribution, we study the possible
high-energy emission due to the interaction of relativistic particles,
electrons and protons, with the magnetic, photon and matter fields inside a
giant molecular cloud. Electrons lose energy via relativistic Bremsstrahlung,
synchrotron radiation and inverse Compton interactions, and protons cool mainly
through inelastic collisions with atoms in the cloud. We conclude that some
massive young stellar objects might be detectable at gamma-rays by next
generation instruments, both satellite-borne and ground based.
