You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2019/04/24 00:03:00 UTC
[jira] [Resolved] (ARTEMIS-2315) Incorrect Routing type of the
queue created
[ https://issues.apache.org/jira/browse/ARTEMIS-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-2315.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
> Incorrect Routing type of the queue created
> -------------------------------------------
>
> Key: ARTEMIS-2315
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2315
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Environment: I am using the maven dependency version 2.7.0 for the artemis-core-client in this test.
> Reporter: Riyafa Abdul Hameed
> Assignee: Justin Bertram
> Priority: Blocker
> Fix For: 2.8.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When I create a queue using the following code a MULTICAST queue gets created whereas I want to create an ANYCAST queue:
>
> {code:java}
> ServerLocator locator = ActiveMQClient.createServerLocator("tcp://localhost:61616");
> ClientSessionFactory factory = locator.createSessionFactory();
> ClientSession session = factory.createSession();
> session.createQueue(addressName, RoutingType.ANYCAST, "routing_type", null, false, false);
> {code}
> I am using the maven dependency version 2.7.0 for the artemis-core-client in this test.
> {color:#cc7832} {color}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)