qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Godfrey <rob.j.godf...@gmail.com>
Subject Re: amqp-1-0-jms client and org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory
Date Thu, 12 Dec 2013 22:11:53 GMT
I don't think there's any reason why there should be a difference to the
provider in the 0-8/9/10 client... probably some copy & paste error :)

-- Rob


On 12 December 2013 19:20, Gordon Sim <gsim@redhat.com> wrote:

> The current AMQP 1.0 JMS client's JNDI provider implementation seems a
> little odd to me (i.e. org.apache.qpid.amqp_1_0.jms.jndi.
> PropertiesFileInitialContextFactory ).
>
> It forces you to specify a provider url[1], but treats that as a file,
> making it hard (impossible) to get at a properties file packaged as a
> resource.
>
> Is this intentional? Am I missing or misunderstanding something?
>
> --Gordon.
>
> [1] The equivalent implementation from the old JMS client (i.e. 0-10 etc),
> from which this seems to have been copied, doesn't require a provider url,
> so though it has the same treatment of the 'url' as a file path, it doesn't
> require you to use that (you can load via getResourceAsStream() or
> equivalent).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message