I am user Hermes-JMS to try to display messages on a Java Message Queue.
When I select a message error that it is "Unable to display message" the reason is a Class Cast error.
Is there way to point Hermes to my objects (set the class path for Hermes) so it can use the toString method to display the messages that it sees on the Queue.
I found the solution. First go to your IDE and export to JAR (in RAD or eclipse this is simply right click export) and include all your projects. This should create a jar file with all your class files. Even if you are doing a war or ear file, just export to jar file so Hermes can read it.
Then in Hermes click on options -> configuration select the Providers tab expand the class path groups that already exist (important don't create a new group this was where I was making my mistake every time I tried, just use the existing one)
Right click on "Library" and select add jar file, select the jar file you create above, select ok and scan, you might have to do the add jar again for each jar you added to your project that your classes depend on.