Need to see usage examples. It is difficult to understand what these classes 
are meant to do without seeing how they are supposed to be applied. The "design 
doc" will probably help here.

Either way, I don't think we'd want to include support for weak references, and 
I'm not sure we need to do anything special to increase the granularity of the 
topic subscriptions. A topic is just a class - it is up to the app to decide 
how coarsely or finely to define those classes to meet the needs of the 
application.

On Jun 20, 2010, at 10:08 AM, aappddeevv wrote:

> Here's the code that I am using. Not all the corner cases have tested out
> yet, but this is the general idea.
> 
> The one thing that could become a concern about the messaging in the
> application context is how to filter messages efficiently on more than just
> class type-which is large grained filtering. But its not a problem now so
> fine-grained filtering can be in a message listener subclass or in the
> annotated method itself.
> 
> 
> 
> -----Original Message-----
> From: Greg Brown (JIRA) [mailto:[email protected]] 
> Sent: Sunday, June 20, 2010 9:45 AM
> To: [email protected]
> Subject: [jira] Commented: (PIVOT-535) Add a @MessageListener annotation and
> an annotation processor for application context message listener
> 
> 
>    [
> https://issues.apache.org/jira/browse/PIVOT-535?page=com.atlassian.jira.plug
> in.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880636#action_1
> 2880636 ] 
> 
> Greg Brown commented on PIVOT-535:
> ----------------------------------
> 
> Agreed re: weak listeners - not a good idea.
> 
> Appddevv,
> 
> Can you provide a description of how these new features would work,
> including code examples? I'd also like to understand how the annotation
> processing would work and where it would live (basically, I am looking for a
> mini "design spec" for what you are proposing).
> 
> Thanks,
> Greg
> 
> 
> 
>> Add a @MessageListener annotation and an annotation processor for
> application context message listener
>> 
> ----------------------------------------------------------------------------
> --------------------------
>> 
>>                Key: PIVOT-535
>>                URL: https://issues.apache.org/jira/browse/PIVOT-535
>>            Project: Pivot
>>         Issue Type: Improvement
>>           Reporter: Appddevvv
>> 
>> Add a message listener annotation and a static method for annotation
> processing to automatically enroll instance/methods in application message
> handling.
>> I have the classes that I can submit as a starting point. They allow weak
> and strong references as well as optional request-reply semantics.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> <message-listener.zip>

Reply via email to