You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Riyafa Abdul Hameed (JIRA)" <ji...@apache.org> on 2019/04/19 08:58:00 UTC

[jira] [Created] (ARTEMIS-2315) Incorrect Routing type of the queue created

Riyafa Abdul Hameed created ARTEMIS-2315:
--------------------------------------------

             Summary: 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


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)