How Do I Make My JMS Endpoint Transactional?

I have a JMS route like this:



How Do I Make It Transactional?


There are examples in the Transactional Client and it is described in the Enabling Transacted Consumption section of JMS. To make a session transactional set transacted=true flag on the JMS endpoint and configure a transactionManager on the Component or Endpoint.