You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by danb2005 <bu...@gmail.com> on 2011/02/07 14:12:58 UTC

View message body for Topic

Hi, is there a way to view the message body of a message that was posted to a
Topic?

"activemq-admin browse DESTINATION" seems to allow you to view the bodies of
queue messages only, not topic messages (from
http://activemq.apache.org/activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-browse).

Please advise if I'm missing something.

Thanks,

Dan
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/View-message-body-for-Topic-tp3264090p3264090.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: View message body for Topic

Posted by danb2005 <bu...@gmail.com>.
Problem solved (or rather found) - the consuming service was switched to run
under a different account. Switching it back to the original account
dequeued the messages.
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/View-message-body-for-Topic-tp3264090p3264459.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: View message body for Topic

Posted by danb2005 <bu...@gmail.com>.
BTW, I now have 13 messages enqueued, with 0 dequeued. 
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/View-message-body-for-Topic-tp3264090p3264319.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: View message body for Topic

Posted by danb2005 <bu...@gmail.com>.
Thanks Dejan.

I have a publisher adding messages to it, but my subscriber (a Windows
service) doesn't seem to be able to consume them. This did work a few days
ago. There is still one consumer listed on admin/topics.jsp. Is there a way
to get any details on this consumer? Unfortunately it's not on the same box
as ActiveMQ. It's on a client's server so I'm going to kindly ask them to
run netstat -ab and send me the output. Is there anything else you can
suggest to help investigate?

Thanks again,

Dan
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/View-message-body-for-Topic-tp3264090p3264314.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: View message body for Topic

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi Dan,

you cannot browse topic messages as they are dispatched to all consumers
immediately (if there's any) and they don't get stored on the broker. Queue
messages on the other hand, get stored waiting for the consumer to pick that
up, so you can browse them.

Regards
-- 
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@fusesource.com
Web: http://fusesource.com
Twitter:  http://twitter.com/dejanb
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Mon, Feb 7, 2011 at 2:12 PM, danb2005 <bu...@gmail.com> wrote:

>
> Hi, is there a way to view the message body of a message that was posted to
> a
> Topic?
>
> "activemq-admin browse DESTINATION" seems to allow you to view the bodies
> of
> queue messages only, not topic messages (from
>
> http://activemq.apache.org/activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-browse
> ).
>
> Please advise if I'm missing something.
>
> Thanks,
>
> Dan
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/View-message-body-for-Topic-tp3264090p3264090.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>