You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org> on 2009/02/10 10:09:02 UTC
[jira] Created: (QPID-1657) Allows amqp.properties file to be found
in the CLASSPATH
Allows amqp.properties file to be found in the CLASSPATH
--------------------------------------------------------
Key: QPID-1657
URL: https://issues.apache.org/jira/browse/QPID-1657
Project: Qpid
Issue Type: Improvement
Components: Java Client
Affects Versions: M4
Reporter: Arnaud Simon
Fix For: M5
Applications that are packaged in .ear or for example in JBoss specific archive (*.esb, *.sar) require to retrieve amqp.properties from the CLASSPATH of the classloader that deployed the archive. This requires PropertiesFileInitialContextFactory.java to be updated with something like:
p.load(this.getClass().getResourceAsStream(file));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-1657) Allows amqp.properties file to be found
in the CLASSPATH
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie updated QPID-1657:
---------------------------------
Fix Version/s: (was: M5)
> Allows amqp.properties file to be found in the CLASSPATH
> --------------------------------------------------------
>
> Key: QPID-1657
> URL: https://issues.apache.org/jira/browse/QPID-1657
> Project: Qpid
> Issue Type: Improvement
> Components: Java Client
> Affects Versions: M4
> Reporter: Arnaud Simon
>
> Applications that are packaged in .ear or for example in JBoss specific archive (*.esb, *.sar) require to retrieve amqp.properties from the CLASSPATH of the classloader that deployed the archive. This requires PropertiesFileInitialContextFactory.java to be updated with something like:
> p.load(this.getClass().getResourceAsStream(file));
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org