You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Pawel (JIRA)" <ji...@apache.org> on 2018/10/12 11:03:00 UTC

[jira] [Comment Edited] (ARTEMIS-2122) Correct producer identification

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

Pawel edited comment on ARTEMIS-2122 at 10/12/18 11:02 AM:
-----------------------------------------------------------

In web UI there are two tabs: Consumers and Producers. When I'm using *org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory*, client consumers are visible in Consumers view and producers in Producers view. But when I'm using *org.apache.activemq.ActiveMQConnectionFactory*, all cleients are visible in Consumers view.

 

I can create long living producers with following code:

 
{code:java}
final Destination destination = session.createQueue("some.queue");
final MessageProducer producer = session.createProducer(destination);

while (true) {
    producer.send(session.createTextMessage("testMessage"));
}{code}


was (Author: pawelj):
In web UI there are two tabs: Consumers and Producers. When I'm using *org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory*, client consumers are visible in Consumers view and producers in Producers view. But when I'm using *org.apache.activemq.ActiveMQConnectionFactory*, all cleients are visible in Consumers view.

 

I can create long living producers with following code:

 
{code:java}
final Destination destination = session.createQueue("some.queue");
MessageProducer producer = session.createProducer(destination);

while (true) {
    producer.send(session.createTextMessage("testMessage"));
}{code}

> Correct producer identification
> -------------------------------
>
>                 Key: ARTEMIS-2122
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2122
>             Project: ActiveMQ Artemis
>          Issue Type: Wish
>          Components: Broker, OpenWire
>    Affects Versions: 2.6.3
>            Reporter: Pawel
>            Priority: Minor
>
> Hi,
> It looks, that Artemis is unable to identify producers, connected with standard ActiveMQ client (org.apache.activemq.ActiveMQConnectionFactory) instead of Artemis client (org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory). In this case, all clients are visible as consumer.
> I understand, that You probably supports only dedicated Artemis client, but compatibility with ActiveMQ client would be great feature.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)