qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Greig" <robert.j.gr...@gmail.com>
Subject Re: javax.naming.NamingException: scheme amqp not recognized
Date Tue, 09 Sep 2008 18:51:40 GMT
Hi,

> I'm getting a very strange error: javax.naming.NamingException: scheme
> amqp not recognized

Which JNDI provider are you using? Does the third party vendor package
(can you tell us what it is?) provide a directory service that you are
trying to use?

Arnaud's response shows an example using regular java properties file
with a JNDI wrapper which is easy to use but depending on your
environment you may not want to have to define connections, queues etc
in property files. You should be able to use other JNDI providers.

Finally, if you don't want to use JNDI you don't need to - you can
directly construct a connection of course.

Let us know if you need any further information on any of this.

Robert

Mime
View raw message