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

Artyom Tarasenko commented on ARTEMIS-4095:
-------------------------------------------

The problem is also reproducible with WildFly-20 and the following consumer:
{code:java}
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.jms.Message;
import javax.jms.MessageListener;

import org.jboss.ejb3.annotation.ResourceAdapter;

@MessageDriven(activationConfig =
{
      @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Queue"),
      @ActivationConfigProperty(propertyName="destination", 
propertyValue="OrdersChannel::OrdersQueue1#OrdersChannel"),
})
@ResourceAdapter("amq-ra.rar") 
public class MdbConsumer implements MessageListener {

    @Override
    public void onMessage(Message ignored) {
        // do nothing
    }

}{code}
(The code for the jms consumer is the same as in the attached 
[^jmsconsumer-1.0-SNAPSHOT.jar] used in the reproducer scenario above, with one 
line difference as the import for ResouceAdapter annotation has been changed 
after the 4.2.3 release).

The fact that the bug is reproducible not just with the ancient JBoss, but also 
with modern WildFly (and likely any other AS which use activemq-5.x.rar) 
probably rises the criticality of the bug?

> OpenWire clients are unable to consume from mutlicast queue after 2nd paging
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4095
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4095
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.26.0, 2.27.0, 2.27.1
>         Environment: Artemis, deployed through the official docker image in 
> version {{2.26.0}} in an OpenShift cluster
>            Reporter: Marco Bungart
>            Priority: Major
>         Attachments: artemis-Xmx1G.png, artemis-Xmx2G.png, graph1.png, 
> graph2.png, jmeter-orders-6500-localhost.jmx, jmsconsumer-1.0-SNAPSHOT.jar
>
>
> I observed that after artemis went into paging for the 2nd time, OpenWire 
> clients were not able to read messages from their corresponding addresses. 
> Restarting the applications connected as clients does not fix the issue. 
> Restarting artemis, however, does fix the issue.
> Both images attached show the messages of two queues. 
> - The upper (orange) line in the 1st graph shows count of messages in a queue 
> to which core clients are connected. 
> - The lower (blue) line in the 1stg raph shows count of messages in a queue 
> to which OpenWire clients are connected.
> - in the 2nd graph, the upper (violet) line shows count of messages in a 
> queue to which core clients are connected. 
> - in the 2nd graph, the lower (green) line shows count of messages in a queue 
> to which OpenWire clients are connected.
> I have a heap dump that we could share, showing the accumulated objects. the 
> dump is about 90 MB in size If this would be helpful to have, please let me 
> know.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to