public void verifyConnection(final String dataSourceName, boolean isXA, final AsyncCallback<ResponseWrapper<Boolean>> callback) {
AddressBinding address = isXA ? xadsMetaData.getAddress() : dsMetaData.getAddress();
ModelNode operation = address.asResource(baseadress.getAdress(), dataSourceName);
operation.get(OP).set("test-connection-in-pool");
dispatcher.execute(new DMRAction(operation), new AsyncCallback<DMRResponse>() {
@Override
public void onFailure(Throwable throwable) {
callback.onFailure(throwable);
}