Mathias,

This actually is an ActiveMQ feature at work.  Many message broker
require you to set up queues before you can use them, but ActiveMQ
creates a queue/topic on the fly as you send your first message to it.
 Whenever we create a temporary queue (e.g. for handing an InOut MEP),
we do delete that afterwards, but not for 'real' JMS queues -- once
defined in the broker, they remain there until someone removes them.

Currently, there's no option available to e.g. delete all empty queues
on startup or something (we don't want to delete queues that have
messages in there, I guess) and that's mostly because there's hardly
any overhead in having an empty queue in the broker.  So this
basically is a feature rather than a bug (I bet you've heard that one
before ;) ), but if you would like to see this extra option being
added, I'll gladly move the SMX4 issue and make it an ActiveMQ issue
for you.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/5/28 mast <[email protected]>:
>
> Hi,
>
> I'm depoying(hotdeploy) a SA into smx, the SA has an jms su that holds
> diffrent jms endpoints:
> Here is a snapshot of my xbean.xml conf:
> <jms:endpoint service="dyna:CarLookupService"
>                  endpoint="endpoint"
>                  role="provider"
>                  destinationStyle="queue"
>                  jmsProviderDestinationName="queue/CLQ"
>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
>                  connectionFactory="#connectionFactory" />
>
> <amq:connectionFactory id="connectionFactory"
> brokerURL="tcp://localhost:61616" />
>
> Everything works fine and the jms-endpoint queues are up and running and
> receving messages.
> I am using jconsole to surveillance and confirm this. However when I
> undeploy my SA that is containing the jms su the queues are still there even
> after i restart smx. How can I remove the queues that I no longer have any
> need for from the amq broker? Am I doing anything out of the league here so
> to speak?
>
> BR
> Mathias
> --
> View this message in context: 
> http://www.nabble.com/Amq-queues-exists-after-delete-of-sa-containing-a-jms-provider-su-tp23757766p23757766.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to