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 » MQSeries Queue Access by JMS Topic using MDBs

Post new topic  Reply to topic
 MQSeries Queue Access by JMS Topic using MDBs « View previous topic :: View next topic » 
Author Message
tcganesh
PostPosted: Mon Nov 18, 2002 12:31 pm    Post subject: MQSeries Queue Access by JMS Topic using MDBs Reply with quote

Novice

Joined: 12 Sep 2002
Posts: 13
Location: New York

I understand MQ Queues can be accesses by JMS APIs.
I understand concept of Topic and JMS components in J2EE.

I am using weblogic 7.0. I need some help in linking Topic to the MQ Queue manager and Queue.

I would greatly appreciate your help guys.
_________________
Thanks,
Ganesh C
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
bower5932
PostPosted: Tue Nov 19, 2002 11:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

With MQ's JMSAdmin, you define a TCF that points to the MQSeries qmgr that you are going to use:
Code:

def tcf(myTCF) qmgr(my.qmgr)

This will define a TCF that will point to the qmgr and it will also tell MQSeries what to use for the queues for publishing/subscribing. You will also define topics that you will be publishing/subscribing to:
Code:

def t(soccer)            topic(Sport/Soccer/*)
def t(soccer.latest)   topic(Sport/Soccer/Event)

The actual queues that JMS will need for publishing/subscribing are created by using the MQJMS_PSQ.mqsc file:
Code:

runmqsc my.qmgr < c:\MQSeries\Java\bin\MQJMS_PSQ.mqsc

This is very high-level. Did you have a specific question?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
tcganesh
PostPosted: Wed Nov 20, 2002 8:24 am    Post subject: JMS and MDBs Reply with quote

Novice

Joined: 12 Sep 2002
Posts: 13
Location: New York

Thanks a Lot.

This really helps me understand connection betn JMS and MQ.

I am trying implement Message Driven Bean to access MQ Queue once a message arrives using MDBs onMessage method. Does this need a different config or the same you mentioned work.

Recommend me if any document explains these specifics.
_________________
Thanks,
Ganesh C
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
bower5932
PostPosted: Wed Nov 20, 2002 10:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

With WebSphere App Server Enterprise Edition, there are some samples and instructions on what to do. On my system, they are in:

C:\WebSphere\AppServer\Enterprise\samples\messaging\MessagingIntro.html

It takes a couple of hours to walk through the instructions setting things up to run.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
udaybho
PostPosted: Fri Nov 22, 2002 1:00 pm    Post subject: Reply with quote

Voyager

Joined: 09 May 2002
Posts: 94
Location: Chicago

Once you define your Queue and QCF using JMS Admin tool you had established an interface between your App server and MQ series. Now you are free to use JMS/MDB. You have to follow JMS/MDB spec for more details.

Remember MQ provides you messaging framework. In your case you are using MQ Messaging framework insted of Weblogic internal Messaging framework. I am assuming you have 6.0+ weblogic appserver.

Uday Bhosle
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 » MQSeries Queue Access by JMS Topic using MDBs
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.