activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r389334 - in /incubator/activemq/trunk/activemq-ra/src/main: java/org/apache/activemq/ra/ActiveMQResourceAdapter.java rar/META-INF/ra.xml
Date Tue, 28 Mar 2006 00:47:20 GMT
Author: chirino
Date: Mon Mar 27 16:47:18 2006
New Revision: 389334

URL: http://svn.apache.org/viewcvs?rev=389334&view=rev
Log:
Add more useful info if broker fails to start and don't start an embedded broker by default.

Modified:
    incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQResourceAdapter.java
    incubator/activemq/trunk/activemq-ra/src/main/rar/META-INF/ra.xml

Modified: incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQResourceAdapter.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQResourceAdapter.java?rev=389334&r1=389333&r2=389334&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQResourceAdapter.java
(original)
+++ incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQResourceAdapter.java
Mon Mar 27 16:47:18 2006
@@ -79,7 +79,7 @@
                 broker = BrokerFactory.createBroker(new URI(brokerXmlConfig));
                 broker.start();
             } catch (Throwable e) {
-                throw new ResourceAdapterInternalException("Failed to startup an embedded
broker: "+e, e);
+                throw new ResourceAdapterInternalException("Failed to startup an embedded
broker: "+brokerXmlConfig+", due to: "+e, e);
             }
         }
     }

Modified: incubator/activemq/trunk/activemq-ra/src/main/rar/META-INF/ra.xml
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-ra/src/main/rar/META-INF/ra.xml?rev=389334&r1=389333&r2=389334&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-ra/src/main/rar/META-INF/ra.xml (original)
+++ incubator/activemq/trunk/activemq-ra/src/main/rar/META-INF/ra.xml Mon Mar 27 16:47:18
2006
@@ -94,7 +94,10 @@
             </description>
             <config-property-name>BrokerXmlConfig</config-property-name>
             <config-property-type>java.lang.String</config-property-type>
+            <config-property-value></config-property-value>
+            <!--
             <config-property-value>xbean:broker-config.xml</config-property-value>
+            -->
         </config-property>
 
         <outbound-resourceadapter>



Mime
View raw message