Bug 777638 (SOA-148) - Load balancing implmented for native messages only - not by JMS, Hibernate, SQL gateways
Summary: Load balancing implmented for native messages only - not by JMS, Hibernate, S...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-148
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Documentation
Version: 4.2 IR5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2 CR1
Assignee: Joshua Wulf
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-16 16:12 UTC by Len DiMaggio
Modified: 2014-10-19 22:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-23 20:39:28 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-148 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.