You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by YMC <mi...@gmail.com> on 2008/02/19 16:04:15 UTC

ActiveMQ-CPP: Remove a queue prgrammatically from a broker

Hey Guys,

We're using the activemq-cpp interface and are interested in being able to
remove queues from the broker programmatically. 

Is there a way to do this via the cpp interface? We don't have the option of
user intervention via the web console.

Thanks in advance,
YMC
-- 
View this message in context: http://www.nabble.com/ActiveMQ-CPP%3A-Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15561398.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: ActiveMQ-CPP: Remove a queue prgrammatically from a broker

Posted by Timothy Bish <ta...@gmail.com>.
Good point.  We don't have support for that in the current version but
we should probably think about adding that into the next release.

Regards
Tim

On Thu, 2008-02-21 at 02:44 -0500, Hiram Chirino wrote:
> BTW.. It's possible if you send the broker a DestinationInfo command
> with the  operationType field set to 1 (REMOVE_OPERATION_TYPE).
> This kinda of thing would not be exposed via the CMS api.. but I'm
> sure it could be exposed if folks casted to some ActiveMQ specific
> interface.
> 
> Regards,
> Hiram
> 
> On Wed, Feb 20, 2008 at 10:28 AM, Bish, Tim <Ti...@sensis.com> wrote:
> >
> >  Maybe you could create a broker plug-in that removes a queue in response
> >  to a specific message, or have a java processing running somewhere that
> >  can do it on command from the client.  C++ can't talk JMX so we can't
> >  really support some of those types of features.
> >
> >
> >  Regards
> >  Tim.
> >
> >  > -----Original Message-----
> >  > From: YMC [mailto:mineyourmind@gmail.com]
> >
> > > Sent: Wednesday, February 20, 2008 7:44 AM
> >  > To: dev@activemq.apache.org
> >
> >
> > > Subject: RE: ActiveMQ-CPP: Remove a queue prgrammatically from a
> >  broker
> >  >
> >  >
> >  > Thanks Tim, I thought that was the case. We have other options but
> >  thanks
> >  > for
> >  > confirming.
> >  >
> >  > Cheers,
> >  > YMC
> >  >
> >  >
> >  > tabish121 wrote:
> >  > >
> >  > >
> >  > > No, sorry, currently there I no way to do that over an C++
> >  interface.
> >  > >
> >  > > Regards
> >  > > Tim.
> >  > >
> >  > >> -----Original Message-----
> >  > >> From: YMC [mailto:mineyourmind@gmail.com]
> >  > >> Sent: Tuesday, February 19, 2008 10:04 AM
> >  > >> To: dev@activemq.apache.org
> >  > >> Subject: ActiveMQ-CPP: Remove a queue prgrammatically from a broker
> >  > >>
> >  > >>
> >  > >> Hey Guys,
> >  > >>
> >  > >> We're using the activemq-cpp interface and are interested in being
> >  > > able to
> >  > >> remove queues from the broker programmatically.
> >  > >>
> >  > >> Is there a way to do this via the cpp interface? We don't have the
> >  > > option
> >  > >> of
> >  > >> user intervention via the web console.
> >  > >>
> >  > >> Thanks in advance,
> >  > >> YMC
> >  > >> --
> >  > >> View this message in context:
> >  http://www.nabble.com/ActiveMQ-CPP%3A-
> >  > >>
> >  > >
> >  Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15561398.ht
> >  > > ml
> >  > >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> >  > >
> >  > >
> >  > >
> >  >
> >  > --
> >  > View this message in context: http://www.nabble.com/ActiveMQ-CPP%3A-
> >  >
> >  Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15588186.ht
> >
> >
> > ml
> >  > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> >
> >
> 
> 
> 


Re: ActiveMQ-CPP: Remove a queue prgrammatically from a broker

Posted by Hiram Chirino <hi...@hiramchirino.com>.
BTW.. It's possible if you send the broker a DestinationInfo command
with the  operationType field set to 1 (REMOVE_OPERATION_TYPE).
This kinda of thing would not be exposed via the CMS api.. but I'm
sure it could be exposed if folks casted to some ActiveMQ specific
interface.

Regards,
Hiram

On Wed, Feb 20, 2008 at 10:28 AM, Bish, Tim <Ti...@sensis.com> wrote:
>
>  Maybe you could create a broker plug-in that removes a queue in response
>  to a specific message, or have a java processing running somewhere that
>  can do it on command from the client.  C++ can't talk JMX so we can't
>  really support some of those types of features.
>
>
>  Regards
>  Tim.
>
>  > -----Original Message-----
>  > From: YMC [mailto:mineyourmind@gmail.com]
>
> > Sent: Wednesday, February 20, 2008 7:44 AM
>  > To: dev@activemq.apache.org
>
>
> > Subject: RE: ActiveMQ-CPP: Remove a queue prgrammatically from a
>  broker
>  >
>  >
>  > Thanks Tim, I thought that was the case. We have other options but
>  thanks
>  > for
>  > confirming.
>  >
>  > Cheers,
>  > YMC
>  >
>  >
>  > tabish121 wrote:
>  > >
>  > >
>  > > No, sorry, currently there I no way to do that over an C++
>  interface.
>  > >
>  > > Regards
>  > > Tim.
>  > >
>  > >> -----Original Message-----
>  > >> From: YMC [mailto:mineyourmind@gmail.com]
>  > >> Sent: Tuesday, February 19, 2008 10:04 AM
>  > >> To: dev@activemq.apache.org
>  > >> Subject: ActiveMQ-CPP: Remove a queue prgrammatically from a broker
>  > >>
>  > >>
>  > >> Hey Guys,
>  > >>
>  > >> We're using the activemq-cpp interface and are interested in being
>  > > able to
>  > >> remove queues from the broker programmatically.
>  > >>
>  > >> Is there a way to do this via the cpp interface? We don't have the
>  > > option
>  > >> of
>  > >> user intervention via the web console.
>  > >>
>  > >> Thanks in advance,
>  > >> YMC
>  > >> --
>  > >> View this message in context:
>  http://www.nabble.com/ActiveMQ-CPP%3A-
>  > >>
>  > >
>  Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15561398.ht
>  > > ml
>  > >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>  > >
>  > >
>  > >
>  >
>  > --
>  > View this message in context: http://www.nabble.com/ActiveMQ-CPP%3A-
>  >
>  Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15588186.ht
>
>
> ml
>  > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

RE: ActiveMQ-CPP: Remove a queue prgrammatically from a broker

Posted by "Bish, Tim" <Ti...@Sensis.com>.
Maybe you could create a broker plug-in that removes a queue in response
to a specific message, or have a java processing running somewhere that
can do it on command from the client.  C++ can't talk JMX so we can't
really support some of those types of features.

Regards
Tim.

> -----Original Message-----
> From: YMC [mailto:mineyourmind@gmail.com]
> Sent: Wednesday, February 20, 2008 7:44 AM
> To: dev@activemq.apache.org
> Subject: RE: ActiveMQ-CPP: Remove a queue prgrammatically from a
broker
> 
> 
> Thanks Tim, I thought that was the case. We have other options but
thanks
> for
> confirming.
> 
> Cheers,
> YMC
> 
> 
> tabish121 wrote:
> >
> >
> > No, sorry, currently there I no way to do that over an C++
interface.
> >
> > Regards
> > Tim.
> >
> >> -----Original Message-----
> >> From: YMC [mailto:mineyourmind@gmail.com]
> >> Sent: Tuesday, February 19, 2008 10:04 AM
> >> To: dev@activemq.apache.org
> >> Subject: ActiveMQ-CPP: Remove a queue prgrammatically from a broker
> >>
> >>
> >> Hey Guys,
> >>
> >> We're using the activemq-cpp interface and are interested in being
> > able to
> >> remove queues from the broker programmatically.
> >>
> >> Is there a way to do this via the cpp interface? We don't have the
> > option
> >> of
> >> user intervention via the web console.
> >>
> >> Thanks in advance,
> >> YMC
> >> --
> >> View this message in context:
http://www.nabble.com/ActiveMQ-CPP%3A-
> >>
> >
Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15561398.ht
> > ml
> >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> >
> >
> >
> 
> --
> View this message in context: http://www.nabble.com/ActiveMQ-CPP%3A-
>
Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15588186.ht
ml
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


RE: ActiveMQ-CPP: Remove a queue prgrammatically from a broker

Posted by YMC <mi...@gmail.com>.
Thanks Tim, I thought that was the case. We have other options but thanks for
confirming.

Cheers,
YMC


tabish121 wrote:
> 
> 
> No, sorry, currently there I no way to do that over an C++ interface.  
> 
> Regards
> Tim.
> 
>> -----Original Message-----
>> From: YMC [mailto:mineyourmind@gmail.com]
>> Sent: Tuesday, February 19, 2008 10:04 AM
>> To: dev@activemq.apache.org
>> Subject: ActiveMQ-CPP: Remove a queue prgrammatically from a broker
>> 
>> 
>> Hey Guys,
>> 
>> We're using the activemq-cpp interface and are interested in being
> able to
>> remove queues from the broker programmatically.
>> 
>> Is there a way to do this via the cpp interface? We don't have the
> option
>> of
>> user intervention via the web console.
>> 
>> Thanks in advance,
>> YMC
>> --
>> View this message in context: http://www.nabble.com/ActiveMQ-CPP%3A-
>>
> Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15561398.ht
> ml
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQ-CPP%3A-Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15588186.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


RE: ActiveMQ-CPP: Remove a queue prgrammatically from a broker

Posted by "Bish, Tim" <Ti...@Sensis.com>.
No, sorry, currently there I no way to do that over an C++ interface.  

Regards
Tim.

> -----Original Message-----
> From: YMC [mailto:mineyourmind@gmail.com]
> Sent: Tuesday, February 19, 2008 10:04 AM
> To: dev@activemq.apache.org
> Subject: ActiveMQ-CPP: Remove a queue prgrammatically from a broker
> 
> 
> Hey Guys,
> 
> We're using the activemq-cpp interface and are interested in being
able to
> remove queues from the broker programmatically.
> 
> Is there a way to do this via the cpp interface? We don't have the
option
> of
> user intervention via the web console.
> 
> Thanks in advance,
> YMC
> --
> View this message in context: http://www.nabble.com/ActiveMQ-CPP%3A-
>
Remove-a-queue-prgrammatically-from-a-broker-tp15561398s2354p15561398.ht
ml
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.