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 » General IBM MQ Support » can one MDB get messages from more than one queues?

Post new topic  Reply to topic
 can one MDB get messages from more than one queues? « View previous topic :: View next topic » 
Author Message
thomaszheng
PostPosted: Thu May 18, 2006 10:16 pm    Post subject: can one MDB get messages from more than one queues? Reply with quote

Acolyte

Joined: 01 Mar 2006
Posts: 62

Hi,
Can one MDB be configured to get messages from more than one queues?
Thanks in advance!
Back to top
View user's profile Send private message
vennela
PostPosted: Fri May 19, 2006 6:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

AFAIK, NO
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fjb_saper
PostPosted: Fri May 19, 2006 11:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This is not to say however that you cannot make the configuration twice and use the same class for the MDB.

Thus the same class will process the content of both queues.
But to the appserver it will look like 2 different MDBS

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Fri May 19, 2006 11:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

One thing you could probably do if you are using WAS6 is:
Configure a SIB and point all the MQ Queues to one queue on the default messaging. I am not sure if we can do this but I thought maybe this will work
Back to top
View user's profile Send private message Send e-mail Visit poster's website
javagate
PostPosted: Thu May 25, 2006 8:26 am    Post subject: Reply with quote

Disciple

Joined: 15 Nov 2004
Posts: 159

Interestingly (and I hope I don't sound like I am talking greek),in WebSphere Application Server 6 we have found that the MDB's run in the CR Controller region rather then the SR Server region like servlets do.

I am a little knew to MDB's but they sound like an Adaptor if such.
_________________
WebSphere Application Server 7.0 z/OS &
MQ 6.0. I work with WebSphere in the real world not in some IBM lab.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu May 25, 2006 8:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MDBs are not an adapter as such, they are explicitly Enterprise Java Beans.

Therefore MDBs run in the EJB container - because MDBs are EJBs. Servlets run in the Web Container.

The SIBus interface, however, is an SCA Adapter. And the WMQ interface is also an SCA Adapter (or at least very close right now).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » can one MDB get messages from more than one queues?
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.