2 Replies Latest reply on May 28, 2012 5:17 AM by Dejan Bosanac

    ActiveMQ and REST API withTopics

    Olivier Ziller Newbie



      I've a Camel project sending messages to ActiveMq (5.5.1) topics, and I want to retrieve those messages using the REST API provides by ActiveMQ

      but when I send the REST query, I get no message, (work fine with camel)


      I'm sending this :

      wget "http://localhost:8161/demo/message/topicTest?type=topic&clientId=c1&durableSubscriptionName=cname1"

      The subscriber not even appear in ActiveMQ/Subscribers manager.


      I followed : http://activemq.apache.org/rest.html#REST-Consumingwithoutsessions


      So, my question, is it possible to get message from topics using REST api and durable subscription ?

      Or, is it the right way but something's missing/wrong ?


      Kind regards.