Creates a message endpoint
Parameters: resource - the xa resource the message endpoint throws: UnavailableException - a transient failure in the endpoint
Tests whether the delivery is transactional for the given method
Parameters: method - the method to test true for transacted delivery, false otherwise throws: NoSuchMethodException - if there is no such method for the endpoint