jbi-connections.xml injected to jbi.xml with malformed namespaces
-----------------------------------------------------------------

                 Key: SM-967
                 URL: https://issues.apache.org/activemq/browse/SM-967
             Project: ServiceMix
          Issue Type: Bug
          Components: tooling
    Affects Versions: 3.2, incubation
         Environment: Windows XP, JDK 1.5.0_11
            Reporter: Piotr Bzdyl


When using src/main/resources/jbi-connections.xml the jbi maven plugin 
malformes namespaces used in connections' elements.

For example if there is following jbi-connections.xml file:

{code:xml}
<connections xmlns:sample="http://my.sample.com/1.0"; 
xmlns:example="http://my.example.com/1.0";>
    <connection>
        <consumer service-name="sample:MyServiceA" endpoint-name="jbi" />
        <provider service-name="example:MyServiceB" endpoint-name="jbi" />
    </connection>
</connections>
{code}

I get jbi.xml with some strange namespaces generated ns1 and ns2 (<connections> 
extracted from generated jbi.xml file):
{code:xml}
<connections>
      <connection>
        <consumer service-name="ns2:MyServiceA endpoint-name="jbi"/>
        <provider service-name="ns1:MyServiceB" endpoint-name="jbi"/>
      </connection>
</connections>
{code}

There is no xmlns:ns1 or xmlns:ns2 declaration in the whole jbi.xml.

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