开发者

how to create a jms connection factory using command line admin tools?

开发者 https://www.devze.com 2023-04-13 07:53 出处:网络
I\'m using openmq with glassfish and i currently use the gf web admin tool to create connection factories and destinations. i\'ve found commands to create destinations using the imqcmd utility however

I'm using openmq with glassfish and i currently use the gf web admin tool to create connection factories and destinations. i've found commands to create destinations using the imqcmd utility however have had no luck creating connection factories. can anybody point me in the correct direction to creating a Queue connection fa开发者_运维问答ctory using the openmq command line tools?

For reference here is what i'm using to create the destination

imqcmd create dst -t q -n MyFavoriteQueue -u admin


You need to use the imqobjmgr utility.

imqobjmgr add -l "cn=myQCF" -j "java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory" -j "java.naming.provider.url=ldap://mydomain.com:389/o=imq" -j "java.naming.security.principal=uid=homerSimpson,ou=People,o=imq" -j "java.naming.security.credentials=doh" -j "java.naming.security.authentication=simple" -t qf -o "imqAddressList=mq://myHost:7272/jms"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号