You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org> on 2008/10/15 16:27:44 UTC

[jira] Created: (QPID-1357) QMan events handling

QMan events handling
--------------------

                 Key: QPID-1357
                 URL: https://issues.apache.org/jira/browse/QPID-1357
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
    Affects Versions: M4
         Environment: J2SE 5 or higher, any OS that is supporting Java
            Reporter: Andrea Gazzarini
            Priority: Minor
             Fix For: M4


According to new features of QMF introduced with QPID-1327, QMan will be improved for events handling.
The improvement will be done without any change on the preexisting features.

Technically speaking, two new entities will be added on QMan domain :

1) QpidEvent : the entity which is encapsulating the event definition (and therefore the collected event instances). This is very similar to preexisting QpidClass entity (for classes).
2) EventMessageResponseHandler : message handler responsible to deal with event content messages (opcode = 'e')

Regards,
Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-1357) QMan events handling

Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon resolved QPID-1357.
--------------------------------

    Resolution: Fixed

Revision: 707016

> QMan events handling
> --------------------
>
>                 Key: QPID-1357
>                 URL: https://issues.apache.org/jira/browse/QPID-1357
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 5 or higher, any OS that is supporting Java
>            Reporter: Andrea Gazzarini
>            Assignee: Arnaud Simon
>            Priority: Minor
>             Fix For: M4
>
>         Attachments: jconsole_showing_qman_events.JPG, qman_17102008_events_handling.patch, qman_22102008_events_handling.patch
>
>
> According to new features of QMF introduced with QPID-1327, QMan will be improved for events handling.
> The improvement will be done without any change on the preexisting features.
> Technically speaking, two new entities will be added on QMan domain :
> 1) QpidEvent : the entity which is encapsulating the event definition (and therefore the collected event instances). This is very similar to preexisting QpidClass entity (for classes).
> 2) EventMessageResponseHandler : message handler responsible to deal with event content messages (opcode = 'e')
> Regards,
> Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1357) QMan events handling

Posted by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Gazzarini updated QPID-1357:
-----------------------------------

    Attachment: jconsole_showing_qman_events.JPG

Good  news : QMan is handling events!  It's working but the patch is not yet created because I should (must) correct something...

Anyway I attached a screenshot of JConsole that is showing the following scenario :

1) One C++ broker 
2) Three Qman connected with the broker above.

You can see that in this version, the namespace of MBean has changed to handle events. Now the pattern is :

Q-MAN: Q-MAN:brokerID=<brokerID>,type=<Event | Class>,package=<package>,name=<event or class name>,objectID=<objectID>

This is needed in order to correctly separate events and classes. As you can see on the attached screenshot under the Q-MAN domain there are two folders named "Class" and "Event".
Now, look under the Event folder. There are three kind of events : bind, queueDeclare and subscribe. 
The screenshot has been made to show the properties (arguments) of a queueDeclare event.

Last thing : note that QMan (for events only) is inserting two additional information other than arguments : severity level and timestamp (shown as a date)  

Any comments would be appreciated.

Regards,
Andrea





> QMan events handling
> --------------------
>
>                 Key: QPID-1357
>                 URL: https://issues.apache.org/jira/browse/QPID-1357
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 5 or higher, any OS that is supporting Java
>            Reporter: Andrea Gazzarini
>            Priority: Minor
>             Fix For: M4
>
>         Attachments: jconsole_showing_qman_events.JPG
>
>
> According to new features of QMF introduced with QPID-1327, QMan will be improved for events handling.
> The improvement will be done without any change on the preexisting features.
> Technically speaking, two new entities will be added on QMan domain :
> 1) QpidEvent : the entity which is encapsulating the event definition (and therefore the collected event instances). This is very similar to preexisting QpidClass entity (for classes).
> 2) EventMessageResponseHandler : message handler responsible to deal with event content messages (opcode = 'e')
> Regards,
> Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1357) QMan events handling

Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon updated QPID-1357:
-------------------------------

    Status: Ready To Review  (was: In Progress)

> QMan events handling
> --------------------
>
>                 Key: QPID-1357
>                 URL: https://issues.apache.org/jira/browse/QPID-1357
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 5 or higher, any OS that is supporting Java
>            Reporter: Andrea Gazzarini
>            Assignee: Arnaud Simon
>            Priority: Minor
>             Fix For: M4
>
>         Attachments: jconsole_showing_qman_events.JPG, qman_17102008_events_handling.patch
>
>
> According to new features of QMF introduced with QPID-1327, QMan will be improved for events handling.
> The improvement will be done without any change on the preexisting features.
> Technically speaking, two new entities will be added on QMan domain :
> 1) QpidEvent : the entity which is encapsulating the event definition (and therefore the collected event instances). This is very similar to preexisting QpidClass entity (for classes).
> 2) EventMessageResponseHandler : message handler responsible to deal with event content messages (opcode = 'e')
> Regards,
> Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (QPID-1357) QMan events handling

Posted by Andrea Gazzarini <a....@gmail.com>.
Hi Arnaud. 
No objection at all. You can proceed whenever you want

Regards
Andrea
Andrea Gazzarini

-----Original Message-----
From: Arnaud Simon <as...@redhat.com>

Date: Mon, 20 Oct 2008 04:29:56 
To: <qp...@incubator.apache.org>
Subject: Re: [jira] Updated: (QPID-1357) QMan events handling


Hi Andrea,

That's excellent thank you for that. 
I have started the process for QPID-1357 and if there isn't any objection I'll commit your patch by tomorrow. 

Thanks

Arnaud
 
----- "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org> wrote:

> [
> https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> 
> Andrea Gazzarini updated QPID-1357:
> -----------------------------------
> 
>     Attachment: qman_17102008_events_handling.patch
> 
> Hi All, This is the latest QMan patch.
> Accroding to this  issue description, QMan is able to handle events. 
> Some little changes are occurred in the existing design in order to
> collect incoming event instances. Those include :
> 
> - A new layer supertype has been added, QpidEntity, which is parent
> class for QpidClass and QpidEvent;
> - A new message handler responsible to deal with event indication
> messages (opcode = 'e')
> - JMX namespace has been changed too, according to what suggested by
> Ted. Now class instances are under type=Object while event instances
> are under type=Event so basically the screenshot attatched with this
> issue still remain valid in order to understand the structure of the
> domain model.
> 
> Regards,
> Andrea
> 
> > QMan events handling
> > --------------------
> >
> >                 Key: QPID-1357
> >                 URL:
> https://issues.apache.org/jira/browse/QPID-1357
> >             Project: Qpid
> >          Issue Type: Improvement
> >          Components: Java Client
> >    Affects Versions: M4
> >         Environment: J2SE 5 or higher, any OS that is supporting
> Java
> >            Reporter: Andrea Gazzarini
> >            Priority: Minor
> >             Fix For: M4
> >
> >         Attachments: jconsole_showing_qman_events.JPG,
> qman_17102008_events_handling.patch
> >
> >
> > According to new features of QMF introduced with QPID-1327, QMan
> will be improved for events handling.
> > The improvement will be done without any change on the preexisting
> features.
> > Technically speaking, two new entities will be added on QMan domain
> :
> > 1) QpidEvent : the entity which is encapsulating the event
> definition (and therefore the collected event instances). This is very
> similar to preexisting QpidClass entity (for classes).
> > 2) EventMessageResponseHandler : message handler responsible to deal
> with event content messages (opcode = 'e')
> > Regards,
> > Andrea
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.

Re: [jira] Updated: (QPID-1357) QMan events handling

Posted by Arnaud Simon <as...@redhat.com>.
Hi Andrea,

That's excellent thank you for that. 
I have started the process for QPID-1357 and if there isn't any objection I'll commit your patch by tomorrow. 

Thanks

Arnaud
 
----- "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org> wrote:

> [
> https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> 
> Andrea Gazzarini updated QPID-1357:
> -----------------------------------
> 
>     Attachment: qman_17102008_events_handling.patch
> 
> Hi All, This is the latest QMan patch.
> Accroding to this  issue description, QMan is able to handle events. 
> Some little changes are occurred in the existing design in order to
> collect incoming event instances. Those include :
> 
> - A new layer supertype has been added, QpidEntity, which is parent
> class for QpidClass and QpidEvent;
> - A new message handler responsible to deal with event indication
> messages (opcode = 'e')
> - JMX namespace has been changed too, according to what suggested by
> Ted. Now class instances are under type=Object while event instances
> are under type=Event so basically the screenshot attatched with this
> issue still remain valid in order to understand the structure of the
> domain model.
> 
> Regards,
> Andrea
> 
> > QMan events handling
> > --------------------
> >
> >                 Key: QPID-1357
> >                 URL:
> https://issues.apache.org/jira/browse/QPID-1357
> >             Project: Qpid
> >          Issue Type: Improvement
> >          Components: Java Client
> >    Affects Versions: M4
> >         Environment: J2SE 5 or higher, any OS that is supporting
> Java
> >            Reporter: Andrea Gazzarini
> >            Priority: Minor
> >             Fix For: M4
> >
> >         Attachments: jconsole_showing_qman_events.JPG,
> qman_17102008_events_handling.patch
> >
> >
> > According to new features of QMF introduced with QPID-1327, QMan
> will be improved for events handling.
> > The improvement will be done without any change on the preexisting
> features.
> > Technically speaking, two new entities will be added on QMan domain
> :
> > 1) QpidEvent : the entity which is encapsulating the event
> definition (and therefore the collected event instances). This is very
> similar to preexisting QpidClass entity (for classes).
> > 2) EventMessageResponseHandler : message handler responsible to deal
> with event content messages (opcode = 'e')
> > Regards,
> > Andrea
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.

[jira] Updated: (QPID-1357) QMan events handling

Posted by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Gazzarini updated QPID-1357:
-----------------------------------

    Attachment: qman_17102008_events_handling.patch

Hi All, This is the latest QMan patch.
Accroding to this  issue description, QMan is able to handle events. 
Some little changes are occurred in the existing design in order to collect incoming event instances. Those include :

- A new layer supertype has been added, QpidEntity, which is parent class for QpidClass and QpidEvent;
- A new message handler responsible to deal with event indication messages (opcode = 'e')
- JMX namespace has been changed too, according to what suggested by Ted. Now class instances are under type=Object while event instances are under type=Event so basically the screenshot attatched with this issue still remain valid in order to understand the structure of the domain model.

Regards,
Andrea

> QMan events handling
> --------------------
>
>                 Key: QPID-1357
>                 URL: https://issues.apache.org/jira/browse/QPID-1357
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 5 or higher, any OS that is supporting Java
>            Reporter: Andrea Gazzarini
>            Priority: Minor
>             Fix For: M4
>
>         Attachments: jconsole_showing_qman_events.JPG, qman_17102008_events_handling.patch
>
>
> According to new features of QMF introduced with QPID-1327, QMan will be improved for events handling.
> The improvement will be done without any change on the preexisting features.
> Technically speaking, two new entities will be added on QMan domain :
> 1) QpidEvent : the entity which is encapsulating the event definition (and therefore the collected event instances). This is very similar to preexisting QpidClass entity (for classes).
> 2) EventMessageResponseHandler : message handler responsible to deal with event content messages (opcode = 'e')
> Regards,
> Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (QPID-1357) QMan events handling

Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon reassigned QPID-1357:
----------------------------------

    Assignee: Arnaud Simon

> QMan events handling
> --------------------
>
>                 Key: QPID-1357
>                 URL: https://issues.apache.org/jira/browse/QPID-1357
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 5 or higher, any OS that is supporting Java
>            Reporter: Andrea Gazzarini
>            Assignee: Arnaud Simon
>            Priority: Minor
>             Fix For: M4
>
>         Attachments: jconsole_showing_qman_events.JPG, qman_17102008_events_handling.patch
>
>
> According to new features of QMF introduced with QPID-1327, QMan will be improved for events handling.
> The improvement will be done without any change on the preexisting features.
> Technically speaking, two new entities will be added on QMan domain :
> 1) QpidEvent : the entity which is encapsulating the event definition (and therefore the collected event instances). This is very similar to preexisting QpidClass entity (for classes).
> 2) EventMessageResponseHandler : message handler responsible to deal with event content messages (opcode = 'e')
> Regards,
> Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1357) QMan events handling

Posted by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Gazzarini updated QPID-1357:
-----------------------------------

    Attachment: qman_22102008_events_handling.patch

Hi, this is the latest QMan patch for events handling.
This additional patch should be submitted in order to fix test case build problems of the previous patch.

Regards,
Andrea 

> QMan events handling
> --------------------
>
>                 Key: QPID-1357
>                 URL: https://issues.apache.org/jira/browse/QPID-1357
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 5 or higher, any OS that is supporting Java
>            Reporter: Andrea Gazzarini
>            Assignee: Arnaud Simon
>            Priority: Minor
>             Fix For: M4
>
>         Attachments: jconsole_showing_qman_events.JPG, qman_17102008_events_handling.patch, qman_22102008_events_handling.patch
>
>
> According to new features of QMF introduced with QPID-1327, QMan will be improved for events handling.
> The improvement will be done without any change on the preexisting features.
> Technically speaking, two new entities will be added on QMan domain :
> 1) QpidEvent : the entity which is encapsulating the event definition (and therefore the collected event instances). This is very similar to preexisting QpidClass entity (for classes).
> 2) EventMessageResponseHandler : message handler responsible to deal with event content messages (opcode = 'e')
> Regards,
> Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.