Check the getQueues() [1] and getTopics() [2] operations. Those will give you a list of all the queues and topics respectively.
Justin [1] https://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/jmx/BrokerViewMBean.html#getQueues() [2] https://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/jmx/BrokerViewMBean.html#getTopics() On Wed, Jul 26, 2023 at 2:53 AM Pavan Gujjari <pavan.gujj...@celigo.com> wrote: > Hi Justin, > > I am writing to express my sincere gratitude for your prompt and helpful > response to my recent, and I would like to add one more question regarding > the REST API <https://activemq.apache.org/rest>. > > - Is there any endpoint that gets a specific queue/topic that in > response we get the name of the queue/topic, which might be either > getting > the list of queues/topics by name? > > If yes, can you please provide us with the documentation? > > Once again, thank you for being so helpful. > Thank you! > Pavan Gujjari > > Associate Software Analyst > +91 9989592163 <+91+9989592163> > pavan.gujj...@celigo.com > www.celigo.com > [image: twitter] <https://twitter.com/celigoinc> > [image: linkedin] <https://www.linkedin.com/company/celigo-inc> > <https://celigo.com/emailsig> > > > On Mon, Jul 24, 2023 at 8:47 PM Justin Bertram <jbert...@apache.org> > wrote: > > > If you want to remove a queue or a topic then you can use the management > > API which is based on JMX [1] but is also exposed via HTTP [2]. In > > particular, you can use the removeQueue [3] and removeTopic [4] > operations. > > > > Publishing & subscribing to a topic is the same as for a queue, you just > > use "topic" instead of "queue" where applicable. This is already > explained > > in the documentation. > > > > > > Justin > > > > [1] https://activemq.apache.org/jmx.html > > [2] https://activemq.apache.org/rest#rest-management > > [3] > > > > > https://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/jmx/BrokerViewMBean.html#removeQueue(java.lang.String) > > [4] > > > > > https://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/jmx/BrokerViewMBean.html#removeTopic(java.lang.String) > > > > On Mon, Jul 24, 2023 at 9:47 AM Pavan Gujjari <pavan.gujj...@celigo.com> > > wrote: > > > > > Hi Justin, > > > > > > I truly appreciate the time and effort you took to address my concerns. > > > > > > Yes, We'd like to know whether we have any endpoints that fit the > > following > > > use case: > > > > > > - Delete a Queue or Topic > > > - Subscribe to a topic > > > - Publish to a topic > > > > > > If yes, please let us know the documentation of that. Wishing you a > > > wonderful day ahead! > > > > > > Thank you! > > > Pavan Gujjari > > > > > > Associate Software Analyst > > > +91 9989592163 <+91+9989592163> > > > pavan.gujj...@celigo.com > > > www.celigo.com > > > [image: twitter] <https://twitter.com/celigoinc> > > > [image: linkedin] <https://www.linkedin.com/company/celigo-inc> > > > <https://celigo.com/emailsig> > > > > > > > > > On Mon, Jul 24, 2023 at 7:22 PM Justin Bertram <jbert...@apache.org> > > > wrote: > > > > > > > I'm not clear on what you mean by, "...it was blacklisted while > > utilizing > > > > the localhost..." Can you clarify this? Do you just mean that when > the > > > > broker was listening on localhost that remote clients were not able > to > > > > connect? > > > > > > > > To my knowledge, there is no specific feature to whitelist or > blacklist > > > IP > > > > addresses. This is typically done by a firewall. > > > > > > > > The REST documentation you cited [1] includes information about how > to > > > > consume messages. What additional information do you need? Please be > > > > specific. > > > > > > > > > > > > Justin > > > > > > > > [1] https://activemq.apache.org/rest > > > > > > > > On Mon, Jul 24, 2023 at 8:33 AM Pavan Gujjari < > > pavan.gujj...@celigo.com> > > > > wrote: > > > > > > > > > Hello ActiveMQ Team, > > > > > > > > > > I am writing to inquire about a few questions that are mentioned > > below. > > > > > > > > > > 1. Does ActiveMQ whitelist the IP address because it was > > blacklisted > > > > > while utilizing the localhost that we set up per the > documentation > > > > > < > > > > > > > > > https://activemq.apache.org/getting-started#UsingHomebrewinstalleronOSX> > > > > > ? > > > > > 2. Do we have any instructions or documentation for whitelisting > > the > > > > IP? > > > > > 3. Is there any further REST API documentation available? > > Following > > > > the > > > > > REST > > > > > API documentation <https://activemq.apache.org/rest>, we > > discovered > > > > > just > > > > > one endpoint, "To send a message to queue/topic," and no > endpoint > > > > > related > > > > > to subscribing/publishing to a topic. > > > > > > > > > > Thank you so much for considering my request. I eagerly await your > > > > response > > > > > and look forward to the opportunity to learn from your expertise. > > > > > > > > > > > > > > > Pavan Gujjari > > > > > > > > > > Associate Software Analyst > > > > > +91 9989592163 <+91+9989592163> > > > > > pavan.gujj...@celigo.com > > > > > www.celigo.com > > > > > [image: twitter] <https://twitter.com/celigoinc> > > > > > [image: linkedin] <https://www.linkedin.com/company/celigo-inc> > > > > > <https://celigo.com/emailsig> > > > > > > > > > > > > > > >