I assume you're using activemq embedded in another project and you use maven. Try taking a look at maven's dependency mechanism and exclusions [1].

I hope this helps,
Hadrian


[1] http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html



On 02/10/2015 04:38 PM, alt_alt wrote:
Hi all
I am new to activemq, and I encounter an issue when using activemq. It is
because we have our own version of javax.jms and there is another one in
activemq-all.jar, which leads to conflict.

Could any one tell me how to exclude the javax from activemq-all? I am using
maven.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/How-to-exclude-javax-from-activemq-all-jar-tp4691298.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to