2008/10/2 kneumei <[EMAIL PROTECTED]>:
>
> Perhaps I am misunderstanding how JMS works, or maybe I didn't explain myself
> very well. How I am viewing JMS's relationship to my code right now is like
> this: My business objects (with their associated queues) are on the server.
> They produce messa
ure out is when the
object that produces messages has reached its lifecycle end, how do I clean
up the queue that was associated with it.
--
View this message in context:
http://www.nabble.com/How-to-properly-close-a-queue--tp19780281p19782218.html
Sent from the ActiveMQ - User mailing list
2008/10/2 kneumei <[EMAIL PROTECTED]>:
>
> Is there a way to delete the queue programatically from the broker instead of
> using JMX? In my application, there are certain business objects that each
> have an associated queue. When the object is deleted, I need the queue to
> close.
>
> If there is
using activeMQ in
the way it was intended and need to do more research.
--
View this message in context:
http://www.nabble.com/How-to-properly-close-a-queue--tp19780281p19781592.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
messageProducer.close();
>>session.close();
>>connection.stop();
>>connection.close();
>> }
>>
>>
>> I have recently been profiling my application and noticed that after the
>> stopMe
ssion.close();
>connection.stop();
>connection.close();
>}
>
>
> I have recently been profiling my application and noticed that after the
> stopMessageQueue() method is called, a thread called
> "QueueThread:queue://
--
View this message in context:
http://www.nabble.com/How-to-properly-close-a-queue--tp19780281p19780800.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
View this message in context:
http://www.nabble.com/How-to-properly-close-a-queue--tp19780281p19780281.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.