Bug 777638 (SOA-148)

Summary: Load balancing implmented for native messages only - not by JMS, Hibernate, SQL gateways
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: DocumentationAssignee: Joshua Wulf <jwulf>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 IR5CC: lcarlon
Target Milestone: ---   
Target Release: 4.2 CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-148
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-23 20:39:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Len DiMaggio 2007-11-16 16:12:42 UTC
Date of First Response: 2008-01-15 04:45:24
project_key: SOA

Platform JIRA for project JIRA: JBESB-1344

Few gateways do not use Service Invoker. It means that they do not provide load balancing facility right now. This needs to be documented and fixed later. The gateways are
JmsGatewayListener.java
HibernateInterceptor.java
SqlTableGatewayListener.java

Loadbalancing is only performed when a raw (native) message is transformed into an ESBMessage. For example, in the quickstarts, sending a message to the ESB through the JMS-Gateway with the SendJMSMessage class will not be loadbalanced. Messages sent straight to the ESB listener, and not through a gateway, by the SendEsbMessage class will be loadbalanced.

If you deploy a gateway on multiple ESBs, and they listen to the same clustered queue, then they will share the load through JBM clustering, but there is no failover to another type of EPR.

Comment 1 Len DiMaggio 2007-11-16 16:13:01 UTC
Link: Added: This issue depends JBESB-1344


Comment 2 Len DiMaggio 2007-11-16 16:13:29 UTC
Link: Added: This issue depends JBESB-1347


Comment 3 Mark Little 2008-01-11 16:26:39 UTC
Link: Removed: This issue depends JBESB-1344 


Comment 4 Joshua Wulf 2008-01-15 09:45:24 UTC
==Proposed for Release Notes==

In this release the following gateways do not use the ServiceInvoker, and therefore do not provide load balancing:

* JmsGatewayListener.java
* HibernateInterceptor.java
* SqlTableGatewayListener.java

Load balancing is performed when a raw message is transformed into an ESBMessage, or when an ESBMessage is sent to an ESB listener. Be aware that a raw (non-ESB) message sent through one of the above three gateways will not be load balanced.

When one of these gateways is deployed on multiple ESBs that listen to the same clustered queue they will share the load through JBM clustering, but there is no failover to another type of EPR.

These gateways will have load balancing enabled in a future release.

Comment 5 Mark Little 2008-01-19 22:29:00 UTC
Fine. The ESB docs carry a similar disclaimer.

Comment 7 Len DiMaggio 2008-01-23 20:39:28 UTC
Verified in the release notes in RC1.