Hello,

I was playing around SSL/SASL with the Java Broker and noticed that some of the 
options which I can pass to the JMS client do not work.


For example, if I set the following url for the JMS Connection Factory, I will 
get the below exception. Is this expected behavior?


JmsConnectionFactory jmsConnectionFactory = new 
JmsConnectionFactory("amqp://localhost:5672?transport.verifyHost=false");
jmsConnectionFactory.createConnection();


Caused by: java.lang.IllegalArgumentException:  Not all transport options could 
be set on the TCP Transport. Check the options are spelled correctly. Unused 
parameters=[{verifyHost=false}]. This provider instance cannot be started.
    at 
org.apache.qpid.jms.transports.TransportFactory.createTransport(TransportFactory.java:64)
    at 
org.apache.qpid.jms.transports.TransportFactory.create(TransportFactory.java:120)
    at 
org.apache.qpid.jms.provider.amqp.AmqpProvider.connect(AmqpProvider.java:160)


Regards,

Adel

Reply via email to