qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Simon <asi...@redhat.com>
Subject Re: Java client bindings on JBoss ESB
Date Tue, 10 Feb 2009 09:08:40 GMT
Hi Jeffrey,

Jeffrey Bride wrote:
> Hi Arnaud,
>   great suggestion ... that approach also works .... unless the
> amqp.properties is included in the ESB archive.  In JBoss, property
> files are typically packaged in the root of any type of JEE (*.jar) or
> JBoss specific archive (*.esb, *.sar).  Subsequently, those property
> files end up in the classpath of the classloader that deployed the
> archive.  So, as an example, the following change in the
> getInitialContext method of PropertiesFileInitialContextFactory.java
> allows an amqp.properties file to be found when packaged in an ESB
> archive :
>
> p.load(this.getClass().getResourceAsStream(file));
>
> Personally, I can move forward without this being addressed.  But, my
> guess is that locating the amqp.properties in the classpath of the JBoss
> classloader might want to be considered.
>
>   
You are right, I have created a JIRA (qpid-1657) for that.

Thanks

Arnaud

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message