Jms message throttling using work manager
This presentation is the property of its rightful owner.
Sponsored Links
1 / 13

JMS Message Throttling Using Work Manager PowerPoint PPT Presentation


  • 108 Views
  • Uploaded on
  • Presentation posted in: General

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.

Download Presentation

JMS Message Throttling Using Work Manager

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


Jms message throttling using work manager

JMS Message Throttling Using Work Manager


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 level1

Configuring Work Manager at Domain Level

Create a New Work Manager


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.


  • Login