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 » WebSphere Message Broker (ACE) Support » Broker JVM Threading Model - In regard to Java Computes (v6)

Post new topic  Reply to topic
 Broker JVM Threading Model - In regard to Java Computes (v6) « View previous topic :: View next topic » 
Author Message
Paul D
PostPosted: Wed Mar 21, 2007 8:27 pm    Post subject: Broker JVM Threading Model - In regard to Java Computes (v6) Reply with quote

Master

Joined: 16 May 2001
Posts: 200
Location: Green Bay Packer Country

I'm trying to get an understanding of how the broker's JVM does threading for java code invoked from a Java Compute. I understand the JVM is running inside the broker's PID. Does it consume/use one thread or multiple theads. Do you do something progromatically to make any of his happen? It looks shared and single threaded to us as we recently added a cache table to our code and could see it being updated from two different flows. We don't have any explicit thread related code in it. The doc talks quite a bit about an input node. This is NOT that. We are trying to understand from a Java Compute perspective in the middle of a flow. Is there any way to adjust these threads if there is just one or a pre-set number. Any code considerations for this?
_________________
Thanks!!!

Paul D
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Thu Mar 22, 2007 1:58 am    Post subject: Reply with quote

Grand High Poobah

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

From the documentation: There is one JVM per execution group.
The rest is just common sense...?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Mar 22, 2007 3:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Right, so.

There's one JVM per EG. That means each EG is a separate runtime.

Each instance of a message flow is a thread in an EG. That means that all JCNs in a flow will run in the instance thread (or a thread tied to the instance thread). So you won't get one thread for all the ESQL, and then one thread for each JCN, you just get one thread.
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » Broker JVM Threading Model - In regard to Java Computes (v6)
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.