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)" <ui...@incubator.apache.org> on 2008/11/26 20:08:46 UTC

[jira] Updated: (UIMA-1239) Fix "Consumer Closed" Exception Thrown By ActiveMQ

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

Jerry Cwiklik updated UIMA-1239:
--------------------------------

    Attachment: uimaj-as-activemq-UIMA-1239-patch.txt

Overrides setConnectionFactory() in the Spring's Message Listener. The new method rewrites brorker URL to add wireFormat.maxInactivityDuration=0 parameter. This parameter turns off Inactivity Monitor in the broker and instructs the broker to keep connection open despite inactivity.  

> Fix "Consumer Closed" Exception Thrown By ActiveMQ 
> ---------------------------------------------------
>
>                 Key: UIMA-1239
>                 URL: https://issues.apache.org/jira/browse/UIMA-1239
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>         Attachments: uimaj-as-activemq-UIMA-1239-patch.txt
>
>
> ActiveMQ seems to close a connection to a broker if the connection is not actively used. This results in different types of exceptions thrown by a listener on an input queue. Sometimes the exception is " Broken Pipe", in other times "Consumer Closed". This error prevents the service from receiving messages and leads to a hang as CASes sent by a client never come back

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