UIMA
  1. UIMA
  2. UIMA-1973

Add getTaskExecutor() method to UimaDefaultMessageListenerContainer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.1AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      Spring v.3.0.3 that comes with AMQ 5.4.1 throws an exception shown below when attempting to set a TaskExecutor via setTaskExecutor():

      Invalid JavaBean property 'taskExecutor' being accessed! Ambiguous write methods
      found next to actually used [public void org.apache.uima.adapter.jms.activemq.U
      imaDefaultMessageListenerContainer.setTaskExecutor(org.springframework.core.task
      .TaskExecutor)]: [public void org.springframework.jms.listener.DefaultMessageLis
      tenerContainer.setTaskExecutor(java.util.concurrent.Executor)]

      This is thrown by Spring framework's bean introspector class when a Java Bean ( in this case UimaDefaultMessageListenerContainer) contains a setter method with no matching getter method. This exception is described here: https://jira.springsource.org/browse/SPR-6399

      The solution to quite this down is to add getTaskExcutor() method.

        Activity

        Hide
        Jerry Cwiklik added a comment -

        Added getTaskExecutor() method

        Show
        Jerry Cwiklik added a comment - Added getTaskExecutor() method

          People

          • Assignee:
            Jerry Cwiklik
            Reporter:
            Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development