Using the method of classical potential theory a semigroup of operators is constructed. It describes a Feller process on the line, which is the result of gluing together two diffusion processes with a nonlocal condition of conjugation Feller-Wentzell type.