History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: BLZ-174
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Assignee: aglosban
Reporter: aglosban
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
BlazeDS

MessageClient.testMessage() is incorrectly doing a string compare for the subtopic header of an inbound message against the subtopic value (which may contain wildcards) that the Consumer is using.

Created: 05/15/08 01:30 PM   Updated: 05/16/08 01:38 PM
Component/s: Messaging
Security Level: Public (All JIRA Users )

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: BlazeDS 3.0.1
Milestone: BlazeDS 3.0.1
Affected OS(s): Windows
Steps to Reproduce:
MessageClient.testMessage() is incorrectly doing a string compare for the subtopic header of an inbound message against the subtopic value (which may contain wildcards) that the Consumer is using. This means that for customers using MessageService.pushMessageToClients(...), which is described in our docset and Javadoc to support custom adapters, messages are not routed to Consumers subscribed with a wildcarded suptopic. There's no workaround.

The method should be converting both of these strings to Subtopic instances and comparing them using the Subtopic#matches(Subtopic) method.
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: aglosban
Resolved by: Seth Hodgson
Participants: aglosban and Seth Hodgson
JDK: Sun JDK 5
Application Server: Apache Tomcat 6.x


 All   Comments      Sort Order:
Seth Hodgson - [05/15/08 04:27 PM ]
Fixed in revisions 1751 and 1752 on branches/3.0.x and trunk.
Customer confirmed fix.

aglosban - [05/15/08 04:55 PM ]
Assigning to William to verify.

aglosban - [05/16/08 01:38 PM ]
Verified. Added MXUnit test for this in BlazeDS SVN checkin 1768.