activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Viewing the contents of a message?
Date Thu, 17 Nov 2011 07:58:37 GMT
On Wed, Nov 16, 2011 at 8:13 PM, frachel <frank@therachels.net> wrote:
> Our applications puts a message on a Queue - initially using the Web Console
> when I clicked on the message to view it, i got a ClassNotFound exception
> (couldn't find the serialized class that the message was). I added the
> appropriate JAR's to the ClassPath (edited wrapper.conf), and I no longer
> get the error - but all I get is the name of the class with some signature
> characters after it. The class we post is called "ExecuteCycleReply". This
> is what I see in the web console when I click on a message:
>
> org.foinsure.types.messages.ExecuteCycleReply@4226c7da
>

It looks like a .toString() on the object. Maybe you can implement a
toString() method in the ExecuteCycleReply class and output some
details you want to see.

> Its a step beyond ClassNotFound ExecuteCycleReply, but not very useful.. is
> there a way to see the actual contents?
>
> Thanks.
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Viewing-the-contents-of-a-message-tp4077536p4077536.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message