jms message throttling using work manager
Download
Skip this Video
Download Presentation
JMS Message Throttling Using Work Manager

Loading in 2 Seconds...

play fullscreen
1 / 13

JMS Message Throttling Using Work Manager - PowerPoint PPT Presentation


  • 155 Views
  • Uploaded on

JMS Message Throttling Using Work Manager. What is Work Manager?. A Work Manager defines a set of request classes and thread constraints that manage work performed by WebLogic Server instances.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' JMS Message Throttling Using Work Manager' - kesler


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
what is work manager
What is Work Manager?

A Work Manager defines a set of request classes and thread constraints that manage work performed by WebLogic Server instances.

WebLogic Server lets you configure how your application prioritizes the execution of its work based on rules you define

work manager components
Work Manager Components

Fair Share Request Class

Response Time Request Class

Min Threads Constraint

Max Threads Constraint

Capacity Constraint

Context Request Class

configuring work manager at domain level
Configuring Work Manager at Domain Level

From the weblogic admin-console navigate to Environment-> Work Managers

configuring work manager at domain level2
Configuring Work Manager at Domain Level

Once the WM is created navigate to that WM and create a constraint for instance “Maximun Thread Constraint” and set the desired thread count.

using the work manager in jms proxy service
Using the Work Manager in JMS Proxy Service

Work Manager created in admin console can be used while configuring the proxy service as Dispatch policy in JMS Transport Configuration.

simulation to understand how work manager works
Simulation to understand how Work Manager works.

Navigate to JMS Connection factory which is referred by the JMS proxy service.

simulation to understand how work manager works1
Simulation to understand how Work Manager works.

Under the Client tab, set the Maximum Messages per session as “1”.

simulation to understand how work manager works2
Simulation to understand how Work Manager works.

Porcess Flow:

JMSQueueOSBProxyBusinessServiceBpel Sync Process

In the simulation, Bpel Process would wait for 5 seconds before the respective instance completes.

OSB Proxy Service is disabled and 5 messages are put into the queue.

simulation to understand how work manager works3
Simulation to understand how Work Manager works.

After putting the messages into queue the proxy service is enabled and the messages are processed in the below pattern.

MSG1

5 Messges

(JMS Queue)

OSB Proxy

MSG1

Bpel Process

MSG5 in 20th Second

MSG5 in 20th Second

simulation to understand how work manager works4
Simulation to understand how Work Manager works.

As per the pattern each message will take 5 seconds to get processed from Queue.

So if the thread constriant has configured as “2”,then for every 5 seconds 2 messages will get processed from the Queue.

advantages of wm over message throttling via proxy service
Advantages of WM over Message Throttling via proxy service
  • Process/Proxy remains intact.
  • While Message throttling using proxy configuration,OSB server uses internal queue to store the messages, so when a restart of server is done the corresponding message will be lost.
  • Reliabilty.
ad