JMS consumer does not release connection after undeploy service
---------------------------------------------------------------

                 Key: SM-1555
                 URL: https://issues.apache.org/activemq/browse/SM-1555
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-jms
    Affects Versions: 3.2.1
         Environment: SMX 3.2.1, external AMQ 5.1.0
            Reporter: Ivan Pryvalov


JMS service with endpoint:

 <jms:consumer service="my:Service"
              endpoint="endpoint" 
              targetService="my:Service"  
              targetInterface="my:Service"
              destinationName="some.queue"
              connectionFactory="#connectionFactory"
              concurrentConsumers="1"
              cacheLevel="1"  
              marshaler="#marshaler" />

<amq:connectionFactory id="email2pdfConnectionFactory" 
brokerURL="tcp://localhost:61616" />

Custom marshaller just processes TextMessage and ActiveMQBytesMessage type of 
incoming JMS message.


How to reproduce:
  - start SM,
  - deploy SA with JMS-service (consumer)
  - start jconsole.exe and select  ActiveMQ to watch, find tab MBeans, select 
org.apache.activemq -> localhost ->  Connection -> OpenWire.
  - undeploy service.
  - number of connection does not change (but should be decreased by 1?!!)
  - deploy SA
  - number of connections increased (so, 1 connection is unused). And so on....
     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to