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 » MDB and SVRCONN channels

Post new topic  Reply to topic
 MDB and SVRCONN channels « View previous topic :: View next topic » 
Author Message
niraj.chaudhary
PostPosted: Fri Apr 25, 2008 6:26 am    Post subject: MDB and SVRCONN channels Reply with quote

Novice

Joined: 20 Jun 2007
Posts: 22
Location: UK

Hi,

I have an MDB (deployed on WLS 8.1) which implements the onMessage(). It also creates outbound connection for putting messages. The 'initial-beans-in-free-pool' is set to 10 for this MDB.

Now, as soon as i deploy the application, it creates 10 SVRCONN channels, which after a few moment reaches to 14 automatically. After I put first message into queue, which is processed by MDB, the channel count increases by 1. After that, it doesn't increase any furhter. Can any one explain what's happening here? I am trying to find out the number of SVRCONN channels my mdb would be needing?

Out of initial 10 channels, 9 have a substate of 'MQGET' and any new channel created thereafter have a substate of 'RECEIVE'. What do these mean? Ideally, there should be 10 MQGET channels, isn't it?

thanks!
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Fri Apr 25, 2008 3:13 pm    Post subject: Re: MDB and SVRCONN channels Reply with quote

Grand High Poobah

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

niraj.chaudhary wrote:
Hi,

I have an MDB (deployed on WLS 8.1) which implements the onMessage(). It also creates outbound connection for putting messages. The 'initial-beans-in-free-pool' is set to 10 for this MDB.

Now, as soon as i deploy the application, it creates 10 SVRCONN channels, which after a few moment reaches to 14 automatically. After I put first message into queue, which is processed by MDB, the channel count increases by 1. After that, it doesn't increase any furhter. Can any one explain what's happening here? I am trying to find out the number of SVRCONN channels my mdb would be needing?

Out of initial 10 channels, 9 have a substate of 'MQGET' and any new channel created thereafter have a substate of 'RECEIVE'. What do these mean? Ideally, there should be 10 MQGET channels, isn't it?

thanks!


There a red book out there called JMS Topology. It should help you understand...


ftp://ftp.software.ibm.com/software/dw/wes/pdf/jmstopologies.pdf

The document is somewhat dated but the information about the number of connections is still accurate... and don't forget to checkout the other links in the doc... you should also find some information about how to size the JMSTCF pool on WAS. Be free to apply to WLS...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
niraj.chaudhary
PostPosted: Sat Apr 26, 2008 2:51 am    Post subject: Reply with quote

Novice

Joined: 20 Jun 2007
Posts: 22
Location: UK

thanks fjb_saper for the book. got a few good ideas from there.

But, there was nothing on the mdb and svrconn channels. Even the links at the end are very old links and doesn't work anymore. Though, I have been able to find some of those docs, I couldn't find one which can tell me how onmessage implements channels.

Any other docs?

thanks!
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Sat Apr 26, 2008 10:33 pm    Post subject: Reply with quote

Grand High Poobah

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

niraj.chaudhary wrote:
thanks fjb_saper for the book. got a few good ideas from there.

But, there was nothing on the mdb and svrconn channels. Even the links at the end are very old links and doesn't work anymore. Though, I have been able to find some of those docs, I couldn't find one which can tell me how onmessage implements channels.

Any other docs?

thanks!

Let's be clear : "onMessage" does not implement any channels. It uses whatever connection available... as defined in the TCF.

Each MDB uses the number of instances +1 connection (1 to listen to the queue and the others to serve messages to the instances of the MDB). This is what you have to take into account when creating your JMS pool.

When in doubt about how JMS works check out the corresponding segment of the latest WAS (WebSphere Application Server) documentation...
Beware of WAS specific enhancements and apply the rest to any J2EE server?

Enjoy
_________________
MQ & Broker admin
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 » MDB and SVRCONN channels
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.