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 » Shareconv with JBOSS EAP ?

Post new topic  Reply to topic
 Shareconv with JBOSS EAP ? « View previous topic :: View next topic » 
Author Message
qrfc
PostPosted: Wed Aug 26, 2015 4:51 am    Post subject: Shareconv with JBOSS EAP ? Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Aug 26, 2015 8:38 am    Post subject: Re: Shareconv with JBOSS EAP ? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
tczielke
PostPosted: Wed Aug 26, 2015 9:56 am    Post subject: Re: Shareconv with JBOSS EAP ? Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
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
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 26, 2015 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Aug 27, 2015 8:44 am    Post subject: Re: Shareconv with JBOSS EAP ? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
tczielke
PostPosted: Thu Aug 27, 2015 8:51 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
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
View user's profile Send private message
fjb_saper
PostPosted: Thu Aug 27, 2015 8:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
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 » Shareconv with JBOSS EAP ?
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.