Well, a peristaltic pump comes to mind, coupled to a stepper - the rollers go around and squeeze the resin through a rubber pipe. If the resin is the type to set solid in the clockwork, fear not, just replace the length of rubber pipe. You'll get very accurate pumping which can be done continuously rather than having to withdraw a piston between shots. There's also the potential for two pumps, one for resin, one for hardener, if it's a two-part glue, forced out through a disposable static mixer nozzle. Interested?
the lack of inertia on the pump axis (makr it as Z if you wish, I'd probably call it a spindle) means that acceleration could be very high, and you could easily program in ramp-up and ramp-down rates to suit your application, even putting in a slight suck-back to shut off flow more cleanly. There's a lot of flexibility here, potentially, but I doubt CAM applications have this in mind, so I'd think of hand-coding as the way forward.