|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Same MDB on multiple listener + WSADMIN script |
« View previous topic :: View next topic » |
Author |
Message
|
xavier2004 |
Posted: Wed May 31, 2006 7:17 am Post subject: Same MDB on multiple listener + WSADMIN script |
|
|
Newbie
Joined: 31 May 2006 Posts: 6
|
I want to deploy the same MDB on multiple listener port:
example:
Queu1--------->L1--------->MDB1
Queu2--------->L2---------->MDB1
QueuN--------->LN---------->MDB1
It's a violation of J2EE specs and may haves problem?
2)It's possible to use WSAdmin script to create and configure MQ queue, Port Listener, and the links between PortListener and MDB there are deployed into running application?
Regards |
|
Back to top |
|
 |
vennela |
Posted: Wed May 31, 2006 10:11 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I don't think it is possible to do so. Atleast not in WAS |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 31, 2006 11:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Each MDB in a particular application on a particular server instance can only be bound to one ListenerPort, and thus use only one QCF/TCF and one Queue/Topic destination.
You can have more than one MDB using the same MDB class, each of which is bound to a different ListenerPort using a different Destination. Does that mean they are the same MDB, or different MDBs? I don't know.
You can deploy the same MDB to different server instances, each of which has it's own ListenerPort, each of which is pointing to a different queue destination - even on the same qmgr.
You can deploy the same MDB in different Applications (ear files) on one server instance, each of which is bound to a different ListenerPort using a different queue destination.
AFAIK, you can create all of these objects using wsadmin. AFAIK, you can use wsadmin to do a deployment. I don't know if you can use wsadmin to provide deployment descriptor options during a deployment. But you should be able to pass a bindings file, which would have the deployment overrides in it. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 31, 2006 2:25 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Oh, it is *not* possible to use wsadmin to create a queue in WebSphere MQ - unless you can use wsadmin to run MQSC scripts. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
xavier2004 |
Posted: Mon Jun 05, 2006 12:04 am Post subject: |
|
|
Newbie
Joined: 31 May 2006 Posts: 6
|
I appreciate your help!
Thanks
Xavier. |
|
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
|
|
|
|