Implemented the JMS-based pipe.