Setting of acknowledgeMode on a session is useless on a producer. Setting of transacted session is also useless in current usage. Only one message is send during session, however a transactional session is intended to commit/rollback multiple sends. See the JMS specification 4.4.7: Each transaction groups a set of produced messages and a set of consumed messages into an atomic unit of work. ... When a transaction commits, its atomic unit of input is acknowledged and its associated atomic unit of output is sent. Current implementation https://github.com/jboss-switchyard/components/blob/master/jca/src/main/java/org/switchyard/component/jca/processor/JMSProcessor.java#L151 makes no harm on JMS functionality, because acknowledgeMode is simply ignored by a JMS provider and commit is used correctly. But commiting can bring additional overhead.
Tomohisa igarashi <tm.igarashi> updated the status of jira SWITCHYARD-2267 to Closed
We won't remove those properties to preserve backward compatibility. However, those will be removed from well-know properties list in tooling as part of SWITCHYARD-2325, so those are not added by default.