You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/06/16 19:20:23 UTC
[jira] Commented: (PIVOT-531) semantic gap in the naming of the
method messageSent in ApplicationContextMessageListener
[ https://issues.apache.org/jira/browse/PIVOT-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879396#action_12879396 ]
Greg Brown commented on PIVOT-531:
----------------------------------
Can you be a little more specific? messageSent() is guaranteed to be called on any subscribed listeners whenever a message is sent (by a call to sendMessage()). Also, we don't really use the "handle" terminology anywhere in the framework - where are you seeing this?
> semantic gap in the naming of the method messageSent in ApplicationContextMessageListener
> -----------------------------------------------------------------------------------------
>
> Key: PIVOT-531
> URL: https://issues.apache.org/jira/browse/PIVOT-531
> Project: Pivot
> Issue Type: Improvement
> Reporter: Appddevvv
>
> There is a semantic gap between the method name and the actual usage. Since a message may not actually be sent once after calling publish. A better name, consistent with other packages, would be "handle."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
RE: [jira] Commented: (PIVOT-531) semantic gap in the naming of the
method messageSent in ApplicationContextMessageListener
Posted by aappddeevv <aa...@verizon.net>.
Other frameworks, non-pivot, that have message oriented flavors to them. Not
a killer issue here of course.
-----Original Message-----
From: Greg Brown (JIRA) [mailto:jira@apache.org]
Sent: Wednesday, June 16, 2010 1:20 PM
To: dev@pivot.apache.org
Subject: [jira] Commented: (PIVOT-531) semantic gap in the naming of the
method messageSent in ApplicationContextMessageListener
[
https://issues.apache.org/jira/browse/PIVOT-531?page=com.atlassian.jira.plug
in.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879396#action_1
2879396 ]
Greg Brown commented on PIVOT-531:
----------------------------------
Can you be a little more specific? messageSent() is guaranteed to be called
on any subscribed listeners whenever a message is sent (by a call to
sendMessage()). Also, we don't really use the "handle" terminology anywhere
in the framework - where are you seeing this?
> semantic gap in the naming of the method messageSent in
ApplicationContextMessageListener
>
----------------------------------------------------------------------------
-------------
>
> Key: PIVOT-531
> URL: https://issues.apache.org/jira/browse/PIVOT-531
> Project: Pivot
> Issue Type: Improvement
> Reporter: Appddevvv
>
> There is a semantic gap between the method name and the actual usage.
Since a message may not actually be sent once after calling publish. A
better name, consistent with other packages, would be "handle."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.