Cut the object in half since it sounds like lash egg material from salpingitis. It is common in hens over 2-3 years, and may be associated with virus, or bacteria, such as mycoplasma or E.coli. Here is some reading:
https://www.bhwt.org.uk/hen-health/health-problems/lash-eggs-salpingitis/