ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Is possible a Weblogic applicattion use MQ Topic String?

Post new topic  Reply to topic
 Is possible a Weblogic applicattion use MQ Topic String? « View previous topic :: View next topic » 
Author Message
venanciorb
PostPosted: Wed Mar 28, 2012 5:21 am    Post subject: Is possible a Weblogic applicattion use MQ Topic String? Reply with quote

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?

Thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 28, 2012 9:49 pm    Post subject: Re: Is possible a Weblogic applicattion use MQ Topic String? Reply with quote

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...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Is possible a Weblogic applicattion use MQ Topic String?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.