Re: How To remove Queue from the session

2006-08-17 Thread James Strachan

On 8/17/06, Arshad Ahamad <[EMAIL PROTECTED]> wrote:

Hi Bish,

   No no. I am not talking about the temporary queue, I am asking about
the nameing queue.


I don't follow what you're asking. FWIW queues only really exist on
the broker (they are not really associated with a client or session).
The only way to remove queues is via JMX on the broker
--

James
---
http://radio.weblogs.com/0112098/


RE: How To remove Queue from the session

2006-08-17 Thread Bish, Tim
>When I use session->close() API then the following error comes
up..
> [FAILED]
>   Message content has been corrupted

Sounds like a possible bug in the openwire-cpp code.  IF you can write a
small test app that demonstrates the problem you could submit an issue
and hopefully the openwire-cpp guys can take a look at it.

> 
> and this does not remove the queue from the receiver side
> is there any other API for that please tell me.

-
Timothy A. Bish
Sensis Corporation
- 



> -Original Message-
> From: Arshad Ahamad [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 17, 2006 8:02 AM
> To: activemq-dev@geronimo.apache.org;
activemq-users@geronimo.apache.org
> Subject: Re: How To remove Queue from the session
> 
> Hi Bish,
> 
>When I use session->close() API then the following error comes
up..
> [FAILED]
>   Message content has been corrupted
> 
> and this does not remove the queue from the receiver side
> is there any other API for that please tell me.
> 
> >>  I am working on openwire-cpp ( for ActiveMQ-4.0) code on
SuSe(Linux
> >> machine->i686-suse-linux, version 2.6.13-15.8-default), in C++ .
> >>  How to remove/deattached a queue from the session without closeing
> >> connection from the sender/reveiver side?. is it possible?
> 
> >Close the Consumer or Producer and delete it would be my guess.
>How to close consumer/producer(what is the API)?
> 
> 
>  Thanks
>  Arashad Ahamad


Re: How To remove Queue from the session

2006-08-17 Thread Arshad Ahamad
Hi Bish, 

  No no. I am not talking about the temporary queue, I am asking about 
the nameing queue. 


Thanks
Arashad Ahamad


Re: How To remove Queue from the session

2006-08-17 Thread Arshad Ahamad

Hi Bish,

  When I use session->close() API then the following error comes up..
[FAILED]
 Message content has been corrupted 


and this does not remove the queue from the receiver side
is there any other API for that please tell me. 

 I am working on openwire-cpp ( for ActiveMQ-4.0) code on SuSe(Linux 
machine->i686-suse-linux, version 2.6.13-15.8-default), in C++ . 
 How to remove/deattached a queue from the session without closeing 
connection from the sender/reveiver side?. is it possible? 


Close the Consumer or Producer and delete it would be my guess. 
  How to close consumer/producer(what is the API)? 



Thanks
Arashad Ahamad


Re: How To remove Queue from the session

2006-08-17 Thread James Strachan

Are you talking about a temporary queue? If not I'd recommend this
page as background...

http://incubator.apache.org/activemq/how-do-i-create-new-destinations.html

On 8/17/06, Arshad Ahamad <[EMAIL PROTECTED]> wrote:


Hi all,

 I am working on openwire-cpp ( for ActiveMQ-4.0) code on SuSe(Linux
 machine->i686-suse-linux, version 2.6.13-15.8-default), in C++ .
 How to remove/deattached a queue from the session without closeing
connection from the sender/reveiver side?. is it possible?




 Thanks
 Arashad Ahamad





--

James
---
http://radio.weblogs.com/0112098/


RE: How To remove Queue from the session

2006-08-17 Thread Bish, Tim
>  I am working on openwire-cpp ( for ActiveMQ-4.0) code on SuSe(Linux
>  machine->i686-suse-linux, version 2.6.13-15.8-default), in C++ .
>  How to remove/deattached a queue from the session without closeing
> connection from the sender/reveiver side?. is it possible?

Close the Consumer or Producer and delete it would be my guess.

-
Timothy A. Bish
Sensis Corporation
- 



> -Original Message-
> From: Arshad Ahamad [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 17, 2006 7:36 AM
> To: activemq-dev@geronimo.apache.org;
activemq-users@geronimo.apache.org
> Subject: How To remove Queue from the session
> 
> 
> Hi all,
> 
> 
> 
> 
> 
>  Thanks
>  Arashad Ahamad


How To remove Queue from the session

2006-08-17 Thread Arshad Ahamad


Hi all, 


I am working on openwire-cpp ( for ActiveMQ-4.0) code on SuSe(Linux
machine->i686-suse-linux, version 2.6.13-15.8-default), in C++ .
How to remove/deattached a queue from the session without closeing 
connection from the sender/reveiver side?. is it possible? 





Thanks
Arashad Ahamad