activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Remove specific Topic from Activemq
Date Wed, 31 Oct 2007 13:53:54 GMT
On 31/10/2007, JigarP <jigar.prajapati@gmail.com> wrote:
>
> Hi,
>
>    I have got Activemq and Spring working with my application and now i am
> thinking from performace /memory consumption related issues in my
> application. I want to delete specific topic from activemq when my work is
> completed for specific topic.

Why?

>  i also checked JMS api for doing this but i
> did not get any clue. please provide me help to remove topic from Activemq.

see the FAQ
http://activemq.apache.org/how-do-i-delete-a-destination.html


> and also one more thing that how can we improve performace of activemq real
> time.
>
> e.g lets say I have topic name = "ABC"+userId  in my application. this topic
> will be specific to user. so when user logged out from application then we
> should also remove  "ABC"+userId  topic from activemq.

You need temporary queues - its exactly what they are designed for.

http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Session.html#createTemporaryQueue()

-- 
James
-------
http://macstrac.blogspot.com/

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

Mime
View raw message