I was trying to use jconsole to invoke the send operation on a servicemix http endpoint and got a java.rmi.UnmarshalException.
After some searching I realised that I needed to set the jconsole's class path to include the servicemix-jbi jar as follows:
jconsole -J-Djava.class.path="C:\Documents and Settings\kmoran\.m2\repository\org\apache\servicemix\servicemix-jbi\126.96.36.199
2-fuse\servicemix-jbi-188.8.131.52-fuse.jar;C:\Program Files\Java\jdk1.6.0_13\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_13\lib\jconsole.jar;"
All is now happiness in that I can read the error message returned by the jmx server:
Do not understand pattern: String
The send operation is complaining that I haven't set it's third parameter properly.
Where would I find documentation on the various operations exposed via JMX?
You are right about adding your custom jar to the JConsole classpath. See also this Sun forum thread.
Unfortunately there is not much documentation on the JMX operations. The best place to look at really is the source code.