You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2010/10/11 22:49:33 UTC

[jira] Created: (UIMA-1898) UIMA AS not compatible with ActiveMQ 5.4.+

UIMA AS not compatible with ActiveMQ 5.4.+
------------------------------------------

                 Key: UIMA-1898
                 URL: https://issues.apache.org/jira/browse/UIMA-1898
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik


The latest AMQ version 5.4.+ comes with dependency on Spring Framework 3.0.+. This version of Spring contains an API change in DefaultMessageListenerContainer class.
DefaultMessageListenerContainer.setTaskExecutor() parameter changed from org.springframework.core.task.TaskExecutor to java.util.concurrent.Executor. This produces 
java.lang.NoSuchMethodError: org/springframework/jms/listener/DefaultMessageListenerContainer.setTaskExecutor(Lorg/springframework/core/task/TaskExecutor.

Change UIMA AS JMS listener code to support the new API. The code should be backwards compatible with older versions of Spring. Consider using java's Reflection to examine the class instance to call supported method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.