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/11/30 17:46:12 UTC

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

     [ https://issues.apache.org/jira/browse/UIMA-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-1898.
-------------------------------

    Resolution: Not A Problem

The reported problem was due to a missing jar in UIMA AS classpath I used for testing. The Spring API has indeed changed, but AMQ provides activemq-spring-5.4.1.jar which implements the backwards compatible API.

> 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.