JBoss Community

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

created by Vinay Bommarati in JBoss Messaging - View the full discussion

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

Start a new discussion in JBoss Messaging at Community