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

Justin Bertram commented on ARTEMIS-1260:
-----------------------------------------

[~tabish121] is correct.  The documentation on the link you provided even 
states, "It's important to note that LVQ is not currently supported for AMQP 
clients."

> Last Value Queues not working in AMQP
> -------------------------------------
>
>                 Key: ARTEMIS-1260
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1260
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.0.0
>         Environment: openjdk version "1.8.0_131" on fedora 25
>            Reporter: Giuseppe Bonocore
>
> last value queues (cfg with 
> https://github.com/andytaylor/amqv7-workshop/tree/master/demos/broker/advanced-features)
>  are not working with AMQP:
> Configuring a last value queue in the broker:
> ...
>    <address-setting match="lastValueQueue">
>            <last-value-queue>true</last-value-queue>
>         </address-setting>
> ...
>  <address name="lastValueQueue">
>          <anycast>
>            <queue name="lastValueQueue"/>
>          </anycast>
>        </address>
> ...
> Sending a message using AMQP client (e.g. 3 times):
>  qmessage --prop _AMQ_LVQ_NAME 123 | qsend lastValueQueue
>  qmessage --prop _AMQ_LVQ_NAME 123 | qsend lastValueQueue
>  qmessage --prop _AMQ_LVQ_NAME 123 | qsend lastValueQueue
> 3 messages are present in the queue (1 is expected)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to