1 Reply Latest reply on Jun 28, 2016 8:27 AM by mnovak

    ActiveMQ connection closing message

    marcanthony

      Hi everyone

       

      I have recently enabled logging for other purposes and now see a lot of these:

       

      [org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager] (Thread-340 (ActiveMQ-client-global-threads-1133741609)) IJ000100: Closing a connection for you. Please close them yourself: org.apache.activemq.artemis.ra.ActiveMQRASession@4a6931cc: java.lang.Throwable: STACKTRACE

       

       

      The invocation that causes them is in  stateless EJB and the jmscontext is injected as

       

          @Inject

          private JMSContext myJMSContext;

       

          public void broadcast(Event event)

          {

              ObjectMessage message = myJMSContext.createObjectMessage(event);

            

              myJMSContext.createProducer().send(mySelectEventTopic, message);

          }

       

      using wildlfy 10

       

      Is it normal?

       

      thanks

       

      Marc