[ 
https://issues.apache.org/jira/browse/CAMEL-9121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734814#comment-14734814
 ] 

ASF GitHub Bot commented on CAMEL-9121:
---------------------------------------

GitHub user tdiesler opened a pull request:

    https://github.com/apache/camel/pull/606

    [CAMEL-9121] activemq-camel pulls in outdated version of commons-pool2

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tdiesler/camel CAMEL-9121

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/606.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #606
    
----
commit b38bbda2dce6634f3ed0b6c4f7ed5417b552515e
Author: Thomas Diesler <[email protected]>
Date:   2015-09-08T13:27:16Z

    [CAMEL-9121] activemq-camel pulls in outdated version of commons-pool2

----


> activemq-camel pulls in outdated version of commons-pool2
> ---------------------------------------------------------
>
>                 Key: CAMEL-9121
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9121
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jms
>            Reporter: Thomas Diesler
>             Fix For: 2.16.0
>
>
> wildfly-camel generates 
> {code:xml}
> <module xmlns="urn:jboss:module:1.1" name="org.apache.commons.pool2">
>   <resources>
>     <artifact name="org.apache.commons:commons-pool2:2.3" />
>   </resources>
>   <dependencies>
>     <module name="javax.api" />
>   </dependencies>
> </module>
> {code}
> although camel defines 2.4.2. This leads to 
> {code}
> type org.apache.commons.pool2.impl.DefaultEvictionPolicy
>       at 
> org.apache.commons.pool2.impl.BaseGenericObjectPool.setEvictionPolicyClassName(BaseGenericObjectPool.java:607)
>       at 
> org.apache.commons.pool2.impl.GenericKeyedObjectPool.setConfig(GenericKeyedObjectPool.java:257)
>       at 
> org.apache.commons.pool2.impl.GenericKeyedObjectPool.<init>(GenericKeyedObjectPool.java:111)
>       at 
> org.apache.commons.pool2.impl.GenericKeyedObjectPool.<init>(GenericKeyedObjectPool.java:86)
>       at 
> org.apache.activemq.jms.pool.PooledConnectionFactory.initConnectionsPool(PooledConnectionFactory.java:89)
>       at 
> org.apache.activemq.jms.pool.PooledConnectionFactory.getConnectionsPool(PooledConnectionFactory.java:496)
>       at 
> org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:224)
>       at 
> org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:209)
>       at 
> org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)
>       at 
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:483)
>       at 
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:243)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to