Results 1 to 2 of 2

Thread: Exporting a JMS Queue as a manageble attribute

  1. #1
    Join Date
    Jan 2007
    Posts
    1

    Default Exporting a JMS Queue as a manageble attribute

    Hi,

    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,
    Rekha

  2. #2
    Join Date
    Jun 2006
    Posts
    6

    Default

    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"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •