diff --git a/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQActivationSpec.java b/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQActivationSpec.java index d409727925..6d28897f1d 100644 --- a/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQActivationSpec.java +++ b/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQActivationSpec.java @@ -142,12 +142,12 @@ public class ActiveMQActivationSpec implements MessageActivationSpec, Serializab public boolean isValidUseRAManagedTransaction(List errorMessages) { try { - new Boolean(noLocal); + new Boolean(useRAManagedTransaction); return true; } catch (Throwable e) { // } - errorMessages.add("noLocal must be set to: true or false."); + errorMessages.add("useRAManagedTransaction must be set to: true or false."); return false; }