You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2009/12/13 16:15:26 UTC

svn commit: r890065 - /incubator/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/UimaDefaultMessageListenerContainer.java

Author: cwiklik
Date: Sun Dec 13 15:15:26 2009
New Revision: 890065

URL: http://svn.apache.org/viewvc?rev=890065&view=rev
Log:
UIMA-1702 Modified to handle delegate broker missing on service startup. Failure to establish connection to broker managing delegate's temp reply queue is subject to GetMeta error configuration in the deployment descriptor. 

Modified:
    incubator/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/UimaDefaultMessageListenerContainer.java

Modified: incubator/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/UimaDefaultMessageListenerContainer.java
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/UimaDefaultMessageListenerContainer.java?rev=890065&r1=890064&r2=890065&view=diff
==============================================================================
--- incubator/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/UimaDefaultMessageListenerContainer.java (original)
+++ incubator/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/adapter/jms/activemq/UimaDefaultMessageListenerContainer.java Sun Dec 13 15:15:26 2009
@@ -357,10 +357,10 @@
     if ( controller != null ) {
       controller.changeState(ServiceState.FAILED);
     }
-    //	check if endpoint object has been fully initialized. If it is not 
+    //	check if endpoint object has been initialized. If it is not 
     //  initialized, most likely the broker is not available and we
     //	go into a silent re-connect retry. 
-    if (endpoint == null || endpoint.getDestination() == null ) {
+    if (endpoint == null ) {
       super.handleListenerSetupFailure(t, true);
       String controllerId = "";
       if (controller != null) {