|
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.
|