Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2315

Incorrect Routing type of the queue created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.8.0
    • None
    • None
    • I am using the maven dependency version 2.7.0 for the artemis-core-client in this test. 

    Description

      When I create a queue using the following code a MULTICAST queue gets created whereas I want to create an ANYCAST queue:

       

      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);
      

      I am using the maven dependency version 2.7.0 for the artemis-core-client in this test.

       

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              Riyafa Abdul Hameed Riyafa Abdul Hameed
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m