|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MDB and SVRCONN channels |
« View previous topic :: View next topic » |
Author |
Message
|
niraj.chaudhary |
Posted: Fri Apr 25, 2008 6:26 am Post subject: MDB and SVRCONN channels |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Apr 25, 2008 3:13 pm Post subject: Re: MDB and SVRCONN channels |
|
|
 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 |
|
 |
niraj.chaudhary |
Posted: Sat Apr 26, 2008 2:51 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Sat Apr 26, 2008 10:33 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|