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

Vinay Bommarati do-not-reply at jboss.com
Wed Mar 23 04:56:01 EDT 2011


Vinay Bommarati [http://community.jboss.org/people/vinayknr41] 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/594982#594982

--------------------------------------------------------------
Hi jaikiran ,

 Thanks for answering ........... Here , iam giving details for  my second question

Coming To Topic Creation :  Iam using jboss jboss-5.1.0.GA .  ( So Jboss Messaging is default JMS Provider ... From Jboss Messaging User Guide , I have Created Topic as above ).

With above xml ,  MDB's listening to topics are receiving Messages as well ... But Pls see the image below...The status of topic is down
 http://community.jboss.org/servlet/JiveServlet/showImage/2-594982-15407/stats.JPG  http://community.jboss.org/servlet/JiveServlet/downloadImage/2-594982-15407/450-157/stats.JPG 
*(MessageBeanTopic) : Its status is down 
*
When I click on the topic to see the Number of durable messages : 

Its giving me Exceptions in console like :
*java.lang.reflect.UndeclaredThrowableException: Failed to get property 'allMessa*

*geCount' on component 'jboss.messaging.destination:name=ReceivingTopic,service=T*
 *pic'.*

*        at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatch*

*er.get(KernelBusRuntimeComponentDispatcher.java:119)*

*        at org.jboss.profileservice.management.DelegatingCompon*entDispatcherImpl

.get(DelegatingComponentDispatcherImpl.java:55)

        at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)

        at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRem

otingInvocationHandler.java:82)


        at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.inv

oke(ProfileServiceInvocationHandler.java:97)

        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

        at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalCli

entInvoker.java:106)

        at org.jboss.remoting.Client.invoke(Client.java:1724)

        at org.jboss.remoting.Client.invoke(Client.java:629)

        at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemot

eInterceptor.java:60)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.

java:102)

        at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaD

ataInterceptor.java:74)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.

java:102)

        at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityC

lientInterceptor.java:65)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.

java:102)

        at org.jboss.aop.generatedproxies.AOPProxy$0.get(AOPProxy$0.java)

        at org.jboss.profileservice.management.ManagedPropertyDelegate.getValue(

ManagedPropertyDelegate.java:154)

        at org.rhq.plugins.jbossas5.ManagedComponentComponent.getSimpleValue(Man

agedComponentComponent.java:239)

        at org.rhq.plugins.jbossas5.ManagedComponentComponent.getValues(ManagedC

omponentComponent.java:183)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread

.call(ResourceContainer.java:482)

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)

        at java.util.concurrent.FutureTask.run(FutureTask.java:123)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

utor.java:650)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

.java:675)

        at java.lang.Thread.run(Thread.java:595)

Caused by: javax.management.AttributeNotFoundException: not found: AllMessageCou

nt

        at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanIn


nt

*Caused by: javax.management.AttributeNotFoundException: not found: AllMessageCount*



*Iam Unable to Understand Why JBoss unable to Get MessageCount for this topic......?? If topic creation itself is a problem , Why MDB's are receiving Messages Perfectly ??*
--------------------------------------------------------------

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

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/e87847a5/attachment.html 


More information about the jboss-user mailing list