Got some photos or dimensions?
Hot melt glue (polyolefin or nicer polyamide) could be a good option if the other parts can handle the heat. With glue stick dispensing there will be no wasted mixer/dispenser tips.
Most one-part curing adhesives like Silicone RTVs or polyurethane sealants are generally moisture curing (react with water in the air) so may have issues or take a long time to cure deeper than ballpark 3-4 mm from the nearest air surface.
So if it's more than that you're looking at 2 part epoxy (don't use 2 part polyurethane for your application, it goes bad very quickly once opened unless stored perfectly). which is def fussier than 1 part adhesives, or hot melts.
If you're within 3-4 mm, you could try a one-component polyurethane like 3M 5200FC. It'll have similar properties to the Silicone RTVs mentioned above for your purposes, but be way cheaper. If you use a silicone, make sure it's "neutral curing" and not "acid curing", since that can corrode things.
I'd start with hot melts, you probably already have a glue gun.