Author |
Message
|
thomaszheng |
Posted: Thu May 18, 2006 10:16 pm Post subject: can one MDB get messages from more than one queues? |
|
|
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 |
|
 |
vennela |
Posted: Fri May 19, 2006 6:18 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri May 19, 2006 11:29 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Fri May 19, 2006 11:41 am Post subject: |
|
|
 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 |
|
 |
javagate |
Posted: Thu May 25, 2006 8:26 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu May 25, 2006 8:34 am Post subject: |
|
|
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 |
|
 |
|