You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claudio Corsi (JIRA)" <ji...@apache.org> on 2012/12/17 17:08:12 UTC

[jira] [Created] (AMQ-4227) ActiveMQSslConnectionFactory does not allow for regular files to be found unless a valid URL is provided or is located on the classpath

Claudio Corsi created AMQ-4227:
----------------------------------

             Summary: ActiveMQSslConnectionFactory does not allow for regular files to be found unless a valid URL is provided or is located on the classpath
                 Key: AMQ-4227
                 URL: https://issues.apache.org/jira/browse/AMQ-4227
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client
    Affects Versions: 5.7.0, 5.8.0
         Environment: Any
            Reporter: Claudio Corsi
             Fix For: 5.8.0


The factory class does not allow one to pass a keystore or truststore file name that is not a properly formatted URL string or is located within the classpath.  

The problem is that the getUrlOrResourceAsStream method does not take into account a regular file name.

The patch includes a fix that provides that ability without removing the ability to pass a valid URL string or having the store be located within the client classpath.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira