camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Elliot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7897) Camel consumes & discards activemq messages after suspension
Date Wed, 08 Oct 2014 17:10:34 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14163791#comment-14163791
] 

Robert Elliot commented on CAMEL-7897:
--------------------------------------

If you use the ActiveMQConnectionFactory directly, without the wrapping PooledConnectionFactory,
the test will pass.

> Camel consumes & discards activemq messages after suspension
> ------------------------------------------------------------
>
>                 Key: CAMEL-7897
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7897
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.14.0
>         Environment: All
>            Reporter: Robert Elliot
>         Attachments: SuspendJmsTest.java, pom.xml
>
>
> When used with a PooledConnectionFactory, a Camel Route that consumes via JMS from an
ActiveMQ endpoint will read one extra message and simply discard it *after* it has completed
suspension, if that message is sent within a second of suspension being completed.
> See attached test case.
> As far as I can tell this is because nothing interrupts the taskExecutor on DefaultMessageListenerContainer
when a route is suspended.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message