[jboss-user] [JBoss Messaging] - Re: Undeploy issue with Java messaging
Justin Bertram
do-not-reply at jboss.com
Wed Feb 8 16:31:45 EST 2012
Justin Bertram [https://community.jboss.org/people/jbertram] created the discussion
"Re: Undeploy issue with Java messaging"
To view the discussion, visit: https://community.jboss.org/message/715335#715335
--------------------------------------------------------------
This is really a life-cycle/dependency issue. A destination that is deployed declaratively has a dependency on the ServerPeer, e.g.:
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=DLQ"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
When you create the destination programmatically there dependency doesn't exist. However, I don't think it actually matters because when the ServerPeer shuts down I believe it will automatically clean up destinations which were created programmatically.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/715335#715335]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120208/2be021be/attachment.html
More information about the jboss-user
mailing list