Posted: Wed Mar 28, 2012 5:21 am Post subject: Is possible a Weblogic applicattion use MQ Topic String?
Newbie
Joined: 29 Aug 2011 Posts: 7
Is there a way to the mdb listener subscribe on a String MQ Topic?
//weblogic-ejb-jar.xml
<!-- "Transf" is the name of the MQ Topic. --> <destination-jndi-name>Transf</destination-jndi-name>
<initial-context-factory>com.sun.jndi.fscontext.RefFSContextFactory</initial-context-factory>
<provider-url>file:/oracle/sicredi/pocmq</provider-url>
<connection-factory-jndi-name>FL.TOPIC.TRANSFTCF</connection-factory-jndi-name>
If I subscribe this appl(mdb) using the MQ Explorer to a MQ Topic String setting a destination queue, and configure the mdb to read that queue instead a topic, it has the same effect that a mdb reading a Topic/Topic string?
Posted: Wed Mar 28, 2012 9:49 pm Post subject: Re: Is possible a Weblogic applicattion use MQ Topic String?
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
venanciorb wrote:
Is there a way to the mdb listener subscribe on a String MQ Topic?
//weblogic-ejb-jar.xml
<!-- "Transf" is the name of the MQ Topic. --> <destination-jndi-name>Transf</destination-jndi-name>
<initial-context-factory>com.sun.jndi.fscontext.RefFSContextFactory</initial-context-factory>
<provider-url>file:/oracle/sicredi/pocmq</provider-url>
<connection-factory-jndi-name>FL.TOPIC.TRANSFTCF</connection-factory-jndi-name>
If I subscribe this appl(mdb) using the MQ Explorer to a MQ Topic String setting a destination queue, and configure the mdb to read that queue instead a topic, it has the same effect that a mdb reading a Topic/Topic string?
Thanks
Not quite unless that topic is the only thing delivered to said queue.
What you need to do is set up the TOPIC in the jndi (com.sun.jndi.fscontext.RefFSContextFactory) with it's delivery point (queue) and then reference that topic in the Weblogic jndi...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum