Author |
Message
|
qrfc |
Posted: Wed Aug 26, 2015 4:51 am Post subject: Shareconv with JBOSS EAP ? |
|
|
Novice
Joined: 29 May 2002 Posts: 19 Location: Paris, France
|
Hello there,
I have actually a question concerning JBOSS EAP using MQ Client. I defined a SVRCONN with a shareconv setted to 10 but actually I can see with DIS CHS(MyChannel) 5 instances of my channel.
Question : Where can I set (which xml and which key code) the option to enable ShareConv and how much connexions inside the same instance ?
I checked all around the internet but didn't find any answers.
If someone can help  |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Aug 26, 2015 8:38 am Post subject: Re: Shareconv with JBOSS EAP ? |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
qrfc wrote: |
Hello there,
I have actually a question concerning JBOSS EAP using MQ Client. I defined a SVRCONN with a shareconv setted to 10 but actually I can see with DIS CHS(MyChannel) 5 instances of my channel.
Question : Where can I set (which xml and which key code) the option to enable ShareConv and how much connexions inside the same instance ?
I checked all around the internet but didn't find any answers.
If someone can help  |
Best practice says to set the value to 1.
You may have to bump up the max channels accordingly...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tczielke |
Posted: Wed Aug 26, 2015 9:56 am Post subject: Re: Shareconv with JBOSS EAP ? |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
fjb_saper wrote: |
Best practice says to set the value to 1.
|
Are you able to provide more details on why the best practice is to set the shared conversations value to 1? What are the concerns with running with the default of 10? _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 26, 2015 10:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I believe SHARECNV is negotiated between the two ends of the channels.
I don't know off the top of my head (or, really, I simply don't know) where JBOSS would have you configure custom properties for the specific JMS provider you are using - but the MQ ones would go in that same place.
Probably the easiest thing to do is use a CCDT that defines a CLNTCONN and point JBOSS at that. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 27, 2015 8:44 am Post subject: Re: Shareconv with JBOSS EAP ? |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
tczielke wrote: |
fjb_saper wrote: |
Best practice says to set the value to 1.
|
Are you able to provide more details on why the best practice is to set the shared conversations value to 1? What are the concerns with running with the default of 10? |
Read the performance information in the MQ V8 infocenter.
A value higher than 1 messes with concurrency on high volume channels as the socket is synchronized...
Basically the socket becomes your bottleneck...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tczielke |
Posted: Thu Aug 27, 2015 8:51 am Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
Thanks for the information. I wonder why when you create a new queue manager at 8.0.0.3, the SYSTEM.DEF.SVRCONN still has a SHARECNV(10). It seems like it should be 1 now. _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 27, 2015 8:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
tczielke wrote: |
Thanks for the information. I wonder why when you create a new queue manager at 8.0.0.3, the SYSTEM.DEF.SVRCONN still has a SHARECNV(10). It seems like it should be 1 now. |
There is no problem if you don't mind sharing your sockets. It is just that when using mdbs this may introduce delays...
The best example I can think of is when using messages about 3 MB... which take some time to open...
So if you have 10 MDBs instances listening and 10 3MB messages waiting your total time is not the time for 1 3 MB message + some overhead, but 10 3 MB messages + some overhead....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|