We are indeed using AMQP version 1.0.

Plugin list:
Enabled plugin file: /etc/rabbitmq/enabled_plugins
Enabled plugins:

 * rabbitmq_web_stomp
 * rabbitmq_stomp
 * rabbitmq_amqp1_0
 * amqp10_common
 * rabbitmq_management
 * amqp_client
 * rabbitmq_web_dispatch
 * cowboy
 * cowlib
 * rabbitmq_management_agent

List of enable listeners
* Interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0

I had the feeling that this would pair up nicely. When I connect my program to 
the default virtual host (/), all running fine.


-----Message d'origine-----
De : Rob Godfrey <rob.j.godf...@gmail.com> 
Envoyé : jeudi 11 février 2021 13:14
À : users@qpid.apache.org
Cc : VARSHNEY Prerna <prerna.varsh...@soprasteria.com>
Objet : Re: [RABBITMQ/QPID-JMS/VHOST] failed to connect to a virtual host

Are you enabling AMQP 1.0 support on RabbitMQ via their plugin (RabbitMQ does 
not support AMQP 1.0 by default - see 
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rabbitmq.com%2Fprotocols.html&amp;data=04%7C01%7Cherbert.koelman%40soprasteria.com%7C654da22bd5b74fd6b67e08d8ce868582%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C637486424449291445%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9LepJFWwMHaaQgsyfGxE8HDVpWuvdh%2Fii0VDZW11g6I%3D&amp;reserved=0).
  The Qpid JMS client uses AMQP
1.0 only.

-- Rob

On Thu, 11 Feb 2021 at 13:06, KOELMAN Herbert < 
herbert.koel...@soprasteria.com> wrote:

> Hello,
>
> I'd like to connect to a RabbitMQ virtual host, but it's not quite 
> clear how I should setup my JMS connection.
>
> I'm using
>
> -          RabbiMQ version 3.8.9
>
> -          Qipid-jms : 0.55.0
>
> I thought it was just a matter of adding the virtual host name at the 
> end of the connection URL. But the magic didn't happen.
>
> To connect with virtual host tst, I use amqp://localhost:5672/tst.
>
> We are using this connection factory class 
> org.apache.qpid.jms.JmsConnectionFactory.
>
> Any idea ?
>
> Regards
>
> Herbert
>
> Il vaut mieux suivre le bon chemin en boitant que le mauvais d'un pas 
> ferme
>
> Saint Augustin
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to