Bug 779830 (SOA-2191)

Summary: JMSRouter doesn't allow sending to topics
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Jiri Sedlacek <jsedlace>
Component: JBossESBAssignee: tcunning
Status: CLOSED WONTFIX QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3 CP04 GA, 4.3 cp05 ER1CC: ldimaggi, mvecera, oskutka, rwagner, tcunning
Target Milestone: ---Keywords: Regression
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2191
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-20 19:53:55 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:
Attachments:
Description Flags
JMSRouter.patch
none
JMSRouterUnitTest.patch
none
TEST-org.jboss.soa.esb.actions.routing.JMSRouterUnitTest.xml none

Description Jiri Sedlacek 2010-07-30 14:30:51 UTC
project_key: SOA

Sending a message to a Topic using the JMSRouter fails with a ClassCastException.

Comment 1 Jiri Sedlacek 2010-07-30 14:32:54 UTC
Link: Added: This issue is related to SOA-2049


Comment 2 Kevin Conner 2010-08-02 09:00:14 UTC
Only queues were supported in SOA 4.3

Comment 3 Kevin Conner 2010-08-02 09:29:18 UTC
Sorry, my bad.  Topics should have been supported in SOA 4.3 but a merge from SOA 4.2 for CP1 removed this.

Comment 4 Martin Vecera 2011-04-26 13:24:55 UTC
Affects Testing: Added: [Regression]


Comment 5 Martin Vecera 2011-04-26 13:27:57 UTC
I removed Fix Version FUTURE since it has been set a long time ago and I wanted this issue not to fall through the cracks due to this.

Comment 6 Martin Vecera 2011-04-26 14:59:06 UTC
Unfortunately, this is a regression and we are not allowed to release CPs with regressions - see https://docspace.corp.redhat.com/docs/DOC-19172 - "all regression tests must pass".

We already have the working code, so there is no need to implement it once more.

Comment 7 Martin Vecera 2011-04-26 15:06:00 UTC
I forgot to mention that this has been definitely working in 4.3.0.GA. I did not check CP01 and CP02.

Comment 8 Rick Wagner 2011-04-26 15:19:42 UTC
GSS is ok with not fixing this, at least until we get a ticket for it.  This decision based on:
- No tickets needing the fix
- Fix is available in upstream version
- The problem is a configuration-time problem, not a runtime-problem.  This should mitigate the severity of a potential ticket, should one arise.

Rick

Comment 9 Martin Vecera 2011-04-27 06:45:28 UTC
It is not pure configuration-time problem. JMSRouter cannot be configured to send messages to topics. So this affects runtime as well since it does not work and there is no other way how to achieve the same result. Except for creating a custom action.

Please note the potential risk of an one-off patch. Such an one-off could influence schedule of further product releases.

Comment 11 Martin Vecera 2011-05-02 11:43:56 UTC
Attached is a patch that solves this issue. Also the corresponding unit test patch is included. I verified the fix by running complete ESB test suite with patched bits from https://svn.jboss.org/repos/labs/labs/jbossesb/workspace/platform/soa_tags/SOA-4.3.0.GA_CP5_CR2/. May I commit the fix to product branch?

Comment 12 Martin Vecera 2011-05-02 11:43:56 UTC
Attachment: Added: JMSRouter.patch
Attachment: Added: JMSRouterUnitTest.patch
Attachment: Added: TEST-org.jboss.soa.esb.actions.routing.JMSRouterUnitTest.xml