HAPI osgi bundle is flawed
--------------------------

                 Key: SMX4-964
                 URL: https://issues.apache.org/jira/browse/SMX4-964
             Project: ServiceMix 4
          Issue Type: Task
          Components: Bundles
            Reporter: Claus Ibsen


The HAPI bundle at
http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hapi/0.5.1_5/

Is flawed. For example it imports many of the packages it exports, which it 
should not do.

Likewise I added an unit test to Camel OSGi tests that uses the API from HAPI 
and it fails.
http://svn.apache.org/viewvc?rev=1201623&view=rev

You get exceptions like this
{code}
Caused by: java.lang.NoSuchMethodError: 
ca.uhn.hl7v2.model.v24.datatype.HD.getHd1_NamespaceID()Lca/uhn/hl7v2/model/v24/datatype/IS;
        at 
org.apache.camel.itest.osgi.hl7.HL7MLLPCodec2Test.process(HL7MLLPCodec2Test.java:67)
        at 
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to