Re: Schema amqp not found

2016-01-15 Thread Robbie Gemmell
artemis.jndi.ActiveMQInitialContextFactory"); > p.put("connectionFactory.ConnectionFactory", > "amqp://localhost:5672&amqp.vhost=localhost"); > p.put("queue.queue/exampleQueue", "exampleQueue"); > initialContext = new InitialContext(p); > :

Re: Schema amqp not found

2016-01-14 Thread Clebert Suconic
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

Re: Schema amqp not found

2016-01-14 Thread spruitt
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.

Re: Schema amqp not found

2016-01-13 Thread Clebert Suconic
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.

Re: Schema amqp not found

2016-01-13 Thread Clebert Suconic
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

Schema amqp not found

2016-01-13 Thread spruitt
"); 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