[jboss-user] [JBoss Messaging] - How much time a Message will reside in a Queue/Topic

Vinay Bommarati do-not-reply at jboss.com
Wed Mar 23 03:19:27 EDT 2011


Vinay Bommarati [http://community.jboss.org/people/vinayknr41] created the discussion

"How much time a Message will reside in a Queue/Topic"

To view the discussion, visit: http://community.jboss.org/message/594954#594954

--------------------------------------------------------------
Hello All 

I have some doubts in JbossMessaging .............pls help 

1) I have created a queue/topic ...and i sent some messages to queue...but , i din't deploy any MDB to listen to that queue........ Now , for how much time the queue can persists all its messages ...??  if i shutdown my server and start it again , will queue contain all its messages   ....??  

2) Any one , pls tell the links to create topic ....becuase i can able to create a topic and MDB''s listening the topic also .........But in admin console the topic status is coming as down .............
I have created the topic In the following way : 
*<mbean * 
*     code="org.jboss.jms.server.destination.TopicService" * 
*     name="jboss.messaging.destination:service=Topic,name=ReceivingTopic" * 
*     xmbean-dd="xmdesc/Queue-xmbean.xml">* 
*        <attribute name="JNDIName">MessageBeanTopic</attribute> * 
*        <attribute name="RedeliveryDelay">1000</attribute>*
*    <attribute name="MaxDeliveryAttempts">1</attribute>* 
*  <depends optional-attribute-name="ServerPeer"> * 
*         jboss.messaging:service=ServerPeer * 
*     </depends>   * 
*<depends> * 
*         jboss.messaging:service=PostOffice * 
*     </depends> * 
*  <attribute name="SecurityConfig"> * 
*       <security> * 
*              <role name="guest" read="true" create="true" write = "true" /> * 
*       </security>  * 
*     </attribute>   
*
*  </mbean> *
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/594954#594954]

Start a new discussion in JBoss Messaging at Community
[http://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/20110323/37f66ad2/attachment.html 


More information about the jboss-user mailing list