Why not use DomainEvents and the Notification as Subscriber to the UserAddFriend DomainEvent? In this case everything is completly
decoupled.

Am schrieb Jing Wu <[email protected]>:
correct. I think this is an easy way to do this, not sure it is the

best solution.



On Mar 24, 10:38 am, mynkow [email protected]> wrote:

> @Jing Wu: As I understand, this is like my solution with FollowService, the

> difference is that the interceptor is directly bound to AddFriend() method

> and in the connection between User and Notification is moved in the

> interceptor. Is that correct?



--

You received this message because you are subscribed to the Google Groups "Castle Project Users" group.

To post to this group, send email to [email protected].

To unsubscribe from this group, send email to [email protected].

For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.



--
You received this message because you are subscribed to the Google Groups "Castle 
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to