Example 7.1, “JMS Resource Group Deployment Plan” shows an example of configuring a resource adapter that provides a JMS connection factory (an outbound resource adapter) and JMS administered objects (a Topic and a Queue), supporting XA transactions.
Example 6.1, “Database Pool Deployment Plan” shows an example of configuring a resource adapter that provides a JDBC connection pool (supporting local transactions), also an outbound resource adapter.