[ 
https://issues.apache.org/jira/browse/ARTEMIS-2557?focusedWorklogId=347258&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-347258
 ]

ASF GitHub Bot logged work on ARTEMIS-2557:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Nov/19 08:57
            Start Date: 21/Nov/19 08:57
    Worklog Time Spent: 10m 
      Work Description: gemmellr commented on issue #2898: ARTEMIS-2557 doc 
caveat for OpenWire JMS 1.1 dep
URL: https://github.com/apache/activemq-artemis/pull/2898#issuecomment-556984480
 
 
   Since the example given in the doc change is artemis-openwire-protocol, I'd 
expect Michael is thinking of excluding it there, i.e exclude the 1.1 dep when 
pulling in whichever bits depend on it, and add the 2.0 dep as used elsewhere 
in artemis. Folks who pull in the artemis-openwire-protocol dep then just get 
2.0 dep, which should be fine at runtime.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 347258)
    Time Spent: 40m  (was: 0.5h)

> Document potential JMS spec dependency issue for embedded use-cases
> -------------------------------------------------------------------
>
>                 Key: ARTEMIS-2557
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2557
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>          Components: Broker, OpenWire
>    Affects Versions: 2.10.1
>            Reporter: SL
>            Assignee: Justin Bertram
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> artemis-openwire-protocol has a dependency on geronimo-jms-1.1_spec
> {code:xml}
>        <dependency>
>          <groupId>org.apache.geronimo.specs</groupId>
>          <artifactId>geronimo-jms_1.1_spec</artifactId>
>          <version>1.1.1</version>
>       </dependency>
> {code}
> However other components such as artemis-jms-server have a dependency on 
> geronimo-jms_2.0_spec which carry a superset of the same interfaces, but with 
> subtle differences (such as the JMSContext in ConnectionFactory)
> If your have both components in a dependency hierarchy you may end up with a 
> classpath including both jar which can lead to a behavior that is
> a) inconsistent, since one or the other jar may have been loaded first to 
> resolve a given interface
> b) funny, if a component compiled against an interface from 2.0 try to use 
> one from 1.1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to