I've followed your example but I get such exception:
Deployment "jboss.j2ee:jar=test01.jar,name=SampleMDB,service=EJB3" is in error due to the following reason(s): javax.resource.ResourceException: MDB is configured to use container managed transaction. But SupportsXA is configured to false in the resource adapter.
Should I set the SupportsXA parameter to true? Where can I do that??