artemis.jndi.ActiveMQInitialContextFactory");
> p.put("connectionFactory.ConnectionFactory",
> "amqp://localhost:5672&amqp.vhost=localhost");
> p.put("queue.queue/exampleQueue", "exampleQueue");
> initialContext = new InitialContext(p);
> :
On Thu, Jan 14, 2016 at 9:27 AM, spruitt wrote:
> That is the code I started with. But I get:
>
> Exception in thread "main" javax.jms.JMSSecurityException: AMQ119031: Unable
> to validate user
>
> So next I started trying:
>
> connection = connectionFactory.createConnection(user, pw);
>
> But I
ialContext(p);
:
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Schema-amqp-not-found-tp4705950p4705988.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
On Wed, Jan 13, 2016 at 4:00 PM, Clebert Suconic
wrote:
> amqp doesn't exist as an schema... Artemis doesn't implement the AMQP
> protocol itself.
I meant to say the client doesn't implement it. you have to use the
proper client/library for AMQP client. Again, look at the example.
put("queue.queue/exampleQueue", "exampleQueue");
> initialContext = new InitialContext(p);
>
> Results in:
> java.lang.NullPointerException: Schema amqp not found
> at
> org.apache.activemq.artemis.utils.uri.URIFactory.newObject(URI
");
p.put("queue.queue/exampleQueue", "exampleQueue");
initialContext = new InitialContext(p);
Results in:
java.lang.NullPointerException: Schema amqp not found
at
org.apache.activemq.artemis.utils.uri.URIFactory.newObject(URIFactory.java:56)
atorg.apache.activemq.artemi