qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Greig" <robert.j.gr...@gmail.com>
Subject Re: Qpid JMS and JNDI configuration issues
Date Mon, 07 Apr 2008 08:12:28 GMT
On 07/04/2008, George Thiruvathukal <gthiruvathukal@zappos.com> wrote:

>  $ cat qpid.bindings
> QueueConnectionFactory=org.apache.qpid.client.AMQConnectionFactory
>  ...

You need to prefix the key with the type of object, e.g.

connectionfactory.QueueConnectionFactory=org.apache.qpid.client.AMQConnectionFactory

> One things that looks suspicious in
> PropertiesFileInitialContextFactory.java is this code
> snippet:
>
>   protected ReadOnlyContext createContext(Map data, Hashtable environment)
>   {
>       return new ReadOnlyContext(environment, data);
>   }

> Why are environment and data getting swapped?

I think this is ok - the arguments to ReadOnlyContext are just in a
different order from the createContext method.

RG

Mime
View raw message