Is is possible to use 'sessionTransacted' attribute in JBossws? 'sessionTransacted' as described in http://cxf.apache.org/docs/jms-transactions.html can be configured on the endpoint normally and CXF will then roll back the message on if any exception happens. So, in this case say a message should be retried by 5 times before it goes to the queue.
Apache CXF does mention the use of 'sessionTransacted' in their docs, but it would be great if there can be an example in JbossWS to have some point of reference. Attached is a sample application for reference which will need spring as well as activemq modules installed in EAP. .