Announcement Announcement Module
No announcement yet.
Exporting a JMS Queue as a manageble attribute Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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: 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,

  • #2
    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"