|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Configuring Destinations in weblogic |
« View previous topic :: View next topic » |
Author |
Message
|
Rajanikanth |
Posted: Tue Jun 25, 2002 3:49 pm Post subject: Configuring Destinations in weblogic |
|
|
Newbie
Joined: 14 Jun 2002 Posts: 3
|
Hi all,
queue = (Queue) jndiContext.lookup(queueName);
I need to understand this piece of code. For me to say this in my application code that runs in weblogic, some one needs to update weblogics JNDI tree with the queueName. Who does this ? Right now, I am doing this explicitly by running JMSAdmin(provided by IBM MQ). I am really surprised that there is no way to specify what the destination queue(mq) exactly is in weblogic's console. If there were such a provision, than weblogic would create the JNDI entry for this remote queue so that the application can use it subsequently.
I am sure I am missing something here as I think of JMS as the messaging counter-part of JDBC. For JDBC, I just have to specify the pool name and using some jar file I am all set, but that does not look like the case in JMS.
Thanks,
-Raj. _________________ Rajy |
|
Back to top |
|
 |
amurugan |
Posted: Tue Jun 25, 2002 6:48 pm Post subject: |
|
|
Voyager
Joined: 10 Sep 2001 Posts: 75 Location: india
|
hi raj ,
I think you are not clear between weblogic and mqseries . let me try to explain .
in weblogic if you need to define destinations in the console first you gotto define ajms server . which u can define in the console . once you have defined the jms server then you can define the queues and topics under the jms server . thats the way we can define queues and topics in the object . Theres no way in weblogic where you can define remote queues for mqseries . why because
no .1 they come from different vendors.
2. They have different implementation
3. the jndi lookup mechanism for both are different .
so you can define remote queues in weblogic for mqseries as JMS specification doesnt have that .
if you want to achieve async way of receiving messages in mq using weblogic 6.1 ,
we have achieved this in a diff way in weblogic 6.1 .
In weblogic 6.1 , webloigc's MDBS can interoperate with other MOMS such as IBM MQ , FIORANO ,SONIC. all you have to do is write an MDB as usual . which MOM u r going to use s configured in the WEBLOGIC-EJB-JAR.XML FILE . IN that xml file you have two tages by the name of initialcontext factory and provider url where you specify the values w.r.t which MOM product u r using .. the default values are those of weblogic and then as usual u specify the name fo he queue and qcf. so when this MDB is deployed in weblogic , they will listen on the particluar queue by taking up the values from the xml file anbd performing the lookup and will get triggered in an async manner . moreover they provide JTA support across these MOMS which is very vital .
if you want to achieve sync support from weblogic to mqseries then you can do that . all you can do is write pure jms utilities and provide the values such as jndi values in a file so that it can be used across any jms products |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|