When using JpaTransactionManager it "Binds a JPA EntityManager from the specified factory to the thread". Meaning that on top of the EntityManager created for each JpaConsumer, each time it creates a new EntityManager.
sharedEntityManager - whether to use spring's SharedEntityManager for the consumer/producer. Sets joinTransaction=false
Also added as a property to the JpaComponent.