0 Replies Latest reply on Aug 31, 2015 4:42 AM by splitframe

    Multiple bounding/unbounding on creating JMS Queue

    splitframe Newbie

      Hi,

       

      I inject my @ApplicationScoped JMSHelper and create a JMS Queue. The JMSHelper acquires the JMSServerControl via the MBeanServerInvocationHandler.

      When I create a queue I get multiple logs stating that the queue has been bound and unbound repeatedly. It seems the amount of bounding/unbounding correlates with the number of times I created and destroyed the queue previously.

      Also, when I start the application server I also get these lines, but ultimately the queues are unbound at the end.

      Excerpt:
      15:44:45,298 INFO  [org.hornetq.core.server] (default task-6) HQ221003: trying to deploy queue jms.queue.Q0
      15:44:45,302 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,306 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,306 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,307 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,307 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,307 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,307 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,307 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,308 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,308 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,308 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,308 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,308 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,309 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,309 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0002: Bound messaging object to jndi name java:/jms/queue/Q0
      15:44:45,310 INFO  [org.jboss.as.messaging] (default task-6) WFLYMSG0006: Unbound messaging object to jndi name java:/jms/queue/Q0

       

      How can I avoid that?

       

      Thanks in advance.