activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1869) Cannot consume using STOMP a message published using MQTT
Date Tue, 22 May 2018 05:52:00 GMT

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

Lionel Cons commented on ARTEMIS-1869:
--------------------------------------

[~jbertram], the problem comes when changing the message type.

The incoming message is a {{BYTES_TYPE}}. If I change the body without changing the message
type, everything works as expected. If, in addition, I also change the message type by adding:
{code}
  message.setType(Message.TEXT_TYPE);
{code}
then I get the behavior I described: the message is present in the broker but cannot be browsed
or consumed.

> Cannot consume using STOMP a message published using MQTT
> ---------------------------------------------------------
>
>                 Key: ARTEMIS-1869
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1869
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Lionel Cons
>            Priority: Major
>
> I have a test MQTT producer that sends a message to an address. There is a queue bound
to this address and I can see the message using the web console. Message count is 1.
> I have a test STOMP consumer subscribing to this queue. It does not get the message.
> If I then start a STOMP publisher to send a message to the same address. The message
appears in the same queue. Message count is now 2.
> I then start again the STOMP consumer and it does get the STOMP published message (and
message count goes down to 1) but it does not get the MQTT published message. Why?



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

Mime
View raw message