Jan 23rd, 2007, 05:56 PM
Exporting a JMS Queue as a manageble attribute
I'm using 1.5 annotations with spring JMX to export a JMS Queue, which is monitored through JConsole. I'm using Active MQ as my JMS provider......I could successfully register, but get the forrloing error,
Problem invoking getQueueName : java.rmi.UnMarshallException: Error unmarchalling return; nested exception is:
java.lang.ClassNOtFoundException:org.apache.active mq.command.ActiveMQQueue(no security manager : RMI class loader disabled)
If anyone has worked on exporting such an object and used Jconsole please reply.
I have a question. Is the ManagedAttribute annotation support only primitive data types only?. or we can export any object?. I was suspecting this.
Thansk & Rgds,
Feb 13th, 2007, 11:52 AM
With activemq I usually connect to the broker's JMX url or pid. I'm pretty sure you can turn on JMX in an embedded broker by using the url syntax "vm://localhost?useJmx=true"