You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2016/07/18 10:36:20 UTC

[jira] [Comment Edited] (ARTEMIS-189) Support Queue wildcard usecase

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

Jiri Danek edited comment on ARTEMIS-189 at 7/18/16 10:35 AM:
--------------------------------------------------------------

In addition, to make the activemq5 asterisk wildcard tests pass, e.g. {{JmsQueueWildcardSendReceiveTest#testReceiveWildcardQueueEndAsterisk}}, I had to make the following change

{code}
-      ActiveMQDestination destination1 = (ActiveMQDestination) session.createQueue(destination1String);
-      ActiveMQDestination destination3 = (ActiveMQDestination) session.createQueue(destination3String);
+      ActiveMQDestination destination1 = new ActiveMQQueue(destination1String);
+      ActiveMQDestination destination3 = new ActiveMQQueue(destination3String);
{code}


was (Author: jdanek):
In addition, to make the activemq5 asterisk wildcard pass, e.g. {{JmsQueueWildcardSendReceiveTest#testReceiveWildcardQueueEndAsterisk}}, I had to make the following change

{code}
-      ActiveMQDestination destination1 = (ActiveMQDestination) session.createQueue(destination1String);
-      ActiveMQDestination destination3 = (ActiveMQDestination) session.createQueue(destination3String);
+      ActiveMQDestination destination1 = new ActiveMQQueue(destination1String);
+      ActiveMQDestination destination3 = new ActiveMQQueue(destination3String);
{code}

> Support Queue wildcard usecase
> ------------------------------
>
>                 Key: ARTEMIS-189
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-189
>             Project: ActiveMQ Artemis
>          Issue Type: Sub-task
>          Components: OpenWire
>    Affects Versions: 1.0.0
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> Client should be able to create a Queue with wild card
> Foo.>
> Then create a consumer to it.
> Then create a queue like FOO.BAR.HUMBUG
> sends a few messages to it.
> The consumer should be able to receive it.
> Ref: JmsDurableQueueWildcardSendReceiveTest, JmsQueueWildcardSendReceiveTest



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)