In order for the JB weld to actually be in the joint, it would have to be a loose fit. If it is a loose fit, then you are relying on the JB weld only to hold the trunnions in place. Bending forces on the trunnions may break the epoxy with time. Maybe... who can tell unless one tries it?
While I have much respect for JB weld, real welding is way better. Also, how thin are the walls where the trunnions fit? What caliber is this barrel and what are the various dimensons?
This sounds like one of the barrels that show up on ebay now and then. You may be able to get more quality for about the same if you shop with some of the regulars here.