[jboss-user] [JBoss Messaging] - Re: How much time a Message will reside in a Queue/Topic
jaikiran pai
do-not-reply at jboss.com
Wed Mar 23 04:32:56 EDT 2011
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: How much time a Message will reside in a Queue/Topic"
To view the discussion, visit: http://community.jboss.org/message/594970#594970
--------------------------------------------------------------
> Vinay Bommarati wrote:
>
> 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 ....??
Messages to queues are durable (persisted) by default. They will survive restart.
> Vinay Bommarati wrote:
>
>
>
> 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> *
Which version of JBoss AS is this? Do you see any error messages in the server.log?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/594970#594970]
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/762e7e08/attachment-0001.html
More information about the jboss-user
mailing list