You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2015/01/26 20:54:34 UTC

[jira] [Created] (SM-2422) Multiple JMS connection factories found for amq-broker

Krzysztof Sobkowiak created SM-2422:
---------------------------------------

             Summary: Multiple JMS connection factories found for amq-broker
                 Key: SM-2422
                 URL: https://issues.apache.org/jira/browse/SM-2422
             Project: ServiceMix
          Issue Type: Bug
          Components: activemq
            Reporter: Krzysztof Sobkowiak
            Assignee: Krzysztof Sobkowiak
             Fix For: 5.1.5, 5.2.1, 5.3.2, 5.4.1, 6.0.0


The {{activemq-service}}  bundle registers currently 2 connection factories (xa and non-xa) but both have the same service parameter {{name}} (which equal the system parameter {{broker-name}} 

{code}
karaf@root> jms:connectionfactories 
JMS Connection Factory
amq-broker
amq-broker
{code}

It makes problems while using the {{jms:}} commands

{code}
karaf@root> jms:info amq-broker 
            Property                Value
Error executing command: Multiple JMS connection factories found for amq-broker
{code}

We should distinguish the both names. We shouls also add the {{osgi.jndi.service.name}} service property in both services.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)