users@glassfish.java.net

Re: Using ssljms

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Mar 2010 03:22:54 PDT

You need to set the [b]addressList [/b]property of the ConnectionFactory resource being used to the [b]URL [/b]of the MQ broker.

If you're using a MDB you may or may not not be specifying a connection factory. If you're not you can specify the URL directly in the activation config:

@ActivationConfigProperty(propertyName = "addressList", propertyValue = "URL")

URL defines the host, port and protocol of the MQ broker.

For ssl, the format will be
mq://host:port/ssljms

(Here the port specified is the main MQ port mapper port, not the ssl port).

See the MQ admin guide for the full URL spec
http://docs.sun.com/app/docs/doc/820-6740
[Message sent by forum member 'nigeldeakin']

http://forums.java.net/jive/thread.jspa?messageID=392716