camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dragisa Krsmanovic (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-2305) Polling consumer does not work well with transacted ActiveMQ 5.3.0
Date Fri, 18 Dec 2009 19:09:52 GMT

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

Dragisa Krsmanovic updated CAMEL-2305:
--------------------------------------

    Description: 
A bean in a activemq route is consuming messages from another activemq queue.  Instead of
reading all queued messages, it always gets just the first message in the queue.

{code:java}
while ((exchange = consumer.receive("activemq:queue", 2000l)) != null) {
        ...
}
{code}

* This did not happen with ActiveMQ 5.2.0
* This does not happen if Spring transaction support is not set for activemq component.
* This does not happen if consumer bean is invoked from direct: route.

  was:
A bean in a activemq route is consuming messages from another activemq queue.  Instead of
reading all queued messages, it always gets just the first message in the queue.

{code:java}
  while ((exchange = consumer.receive("activemq:queue", 2000l)) != null) {
        ...
  }
{code}

* This did not happen with ActiveMQ 5.2.0
* This does not happen if Spring transaction support is not set for activemq component.
* This does not happen if consumer bean is invoked from direct: route.


> Polling consumer does not work well with transacted ActiveMQ 5.3.0
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2305
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2305
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0
>            Reporter: Dragisa Krsmanovic
>         Attachments: JmsPollingConsumerTest.patch
>
>
> A bean in a activemq route is consuming messages from another activemq queue.  Instead
of reading all queued messages, it always gets just the first message in the queue.
> {code:java}
> while ((exchange = consumer.receive("activemq:queue", 2000l)) != null) {
>         ...
> }
> {code}
> * This did not happen with ActiveMQ 5.2.0
> * This does not happen if Spring transaction support is not set for activemq component.
> * This does not happen if consumer bean is invoked from direct: route.

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


Mime
View raw message