Qpid dependency conflict between AMQP transport and JMS unit tests
------------------------------------------------------------------

                 Key: SYNAPSE-417
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-417
             Project: Synapse
          Issue Type: Bug
          Components: Transports
    Affects Versions: NIGHTLY
         Environment: N/A
            Reporter: Andreas Veithen


I'm currently developing a set of unit tests for the JMS transport. Initially I 
used Mockrunner as a JMS provider in these tests, but since it doesn't 
implement all JMS features correctly, I decided to switch to Qpid. The unit 
tests run well with Qpid's in-VM broker, but this approach introduces a new 
issue: the JMS unit tests use version 1.0-incubating-M2.1, while the AMQP 
transport implementation in the same Maven module relies on 
1.0-incubating-M3-615355. The M3 snapshot can't be used for the JMS unit tests 
because the qpid-broker artifact is not available for this version. On the 
other hand, the AMQP transport doesn't compile with M2.1. I tried to convince 
Maven to use different versions for compile and test, but this doesn't seem to 
be possible.

The only solution seems to be to split the synapse-transports such that the 
AMQP transport and the JMS unit tests become part of two different Maven 
modules. While waiting for feedback on this question, I will temporarily change 
the Qpid version and exclude the AMQP transport from compilation.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to