You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Trần Tiến Đức (JIRA)" <ji...@apache.org> on 2019/01/04 11:36:00 UTC

[jira] [Updated] (MAILBOX-371) Implement a work queue for listeners (group registrations)

     [ https://issues.apache.org/jira/browse/MAILBOX-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trần Tiến Đức updated MAILBOX-371:
----------------------------------
    Description: 
implementing RabbitMQEventBus key register method
{code:java}
interface EventBus {
...
 Registration register(Listener listener, Group group);
...
}
{code}
 

Upon the registration of a listener to a group, a work queue is created and listen to mailbox event exchange on global empty routing key. When an event is arrived, rabbitmq queue receives that event, deserialize it to event object, deliver that event object to registered listener

 

Update: Separating EventBUSCONTRACT INTO group registration, key registration, dispatching sub contracts. you need to implement group registration contract in your rabbitmq registration test.

 

also need to test multiple eventbus

  was:
implementing RabbitMQEventBus key register method
{code:java}
interface EventBus {
...
 Registration register(Listener listener, Group group);
...
}
{code}


> Implement a work queue for  listeners (group registrations)
> -----------------------------------------------------------
>
>                 Key: MAILBOX-371
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-371
>             Project: James Mailbox
>          Issue Type: New Feature
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> implementing RabbitMQEventBus key register method
> {code:java}
> interface EventBus {
> ...
>  Registration register(Listener listener, Group group);
> ...
> }
> {code}
>  
> Upon the registration of a listener to a group, a work queue is created and listen to mailbox event exchange on global empty routing key. When an event is arrived, rabbitmq queue receives that event, deserialize it to event object, deliver that event object to registered listener
>  
> Update: Separating EventBUSCONTRACT INTO group registration, key registration, dispatching sub contracts. you need to implement group registration contract in your rabbitmq registration test.
>  
> also need to test multiple eventbus



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org