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 » Same MDB on multiple listener + WSADMIN script

Post new topic  Reply to topic
 Same MDB on multiple listener + WSADMIN script « View previous topic :: View next topic » 
Author Message
xavier2004
PostPosted: Wed May 31, 2006 7:17 am    Post subject: Same MDB on multiple listener + WSADMIN script Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Wed May 31, 2006 10:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed May 31, 2006 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed May 31, 2006 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
xavier2004
PostPosted: Mon Jun 05, 2006 12:04 am    Post subject: Reply with quote

Newbie

Joined: 31 May 2006
Posts: 6

I appreciate your help!

Thanks

Xavier.
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 » IBM MQ Java / JMS » Same MDB on multiple listener + WSADMIN script
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.