[jira] Created: (ESPER-277) Add route methods for routing Maps, XML and plug-in event representation events

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (ESPER-277) Add route methods for routing Maps, XML and plug-in event representation events

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Add route methods for routing Maps, XML and plug-in event representation events
-------------------------------------------------------------------------------

                 Key: ESPER-277
                 URL: http://jira.codehaus.org/browse/ESPER-277
             Project: Esper
          Issue Type: Improvement
            Reporter: Thomas Bernhardt


per user request:

The route() API is not symmetric with the sendEvent() API, ie. there's no way to route Maps or XML events. Looking at the EPRuntimeImpl code, it appears any data, sent via route(), that is not an EventBean, is interpreted as a POJO event. Is there any easy way to route a map with an event type alias. Seems like I can post an EventBean that wraps the map... is there an easy way to create an event bean for the map using the client API? Can I get a reference to EventAdapterService instance from the client API somehow?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (ESPER-277) Add route methods for routing Maps, XML and plug-in event representation events

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/ESPER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145798#action_145798 ]

Thomas Bernhardt commented on ESPER-277:
----------------------------------------

To 2., yes the route(Object) indeed needs to provide additional methods it currently does not provide.

Since an EventSender can send custom event representations, the additional route methods would be:
  route(Map map, String eventTypeAlias)
  route(Node node)
  EventSender getRouteEventSender(String eventTypeAlias)
  EventSender getRouteEventSender(URI[] uris)


> Add route methods for routing Maps, XML and plug-in event representation events
> -------------------------------------------------------------------------------
>
>                 Key: ESPER-277
>                 URL: http://jira.codehaus.org/browse/ESPER-277
>             Project: Esper
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.2
>            Reporter: Thomas Bernhardt
>             Fix For: 2.3
>
>
> per user request:
> The route() API is not symmetric with the sendEvent() API, ie. there's no way to route Maps or XML events. Looking at the EPRuntimeImpl code, it appears any data, sent via route(), that is not an EventBean, is interpreted as a POJO event. Is there any easy way to route a map with an event type alias. Seems like I can post an EventBean that wraps the map... is there an easy way to create an event bean for the map using the client API? Can I get a reference to EventAdapterService instance from the client API somehow?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (ESPER-277) Add route methods for routing Maps, XML and plug-in event representation events

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/ESPER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Bernhardt updated ESPER-277:
-----------------------------------

             Priority: Minor  (was: Major)
    Affects Version/s: 2.2
        Fix Version/s: 2.3
          Component/s: Core

> Add route methods for routing Maps, XML and plug-in event representation events
> -------------------------------------------------------------------------------
>
>                 Key: ESPER-277
>                 URL: http://jira.codehaus.org/browse/ESPER-277
>             Project: Esper
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.2
>            Reporter: Thomas Bernhardt
>            Priority: Minor
>             Fix For: 2.3
>
>
> per user request:
> The route() API is not symmetric with the sendEvent() API, ie. there's no way to route Maps or XML events. Looking at the EPRuntimeImpl code, it appears any data, sent via route(), that is not an EventBean, is interpreted as a POJO event. Is there any easy way to route a map with an event type alias. Seems like I can post an EventBean that wraps the map... is there an easy way to create an event bean for the map using the client API? Can I get a reference to EventAdapterService instance from the client API somehow?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (ESPER-277) Add route methods for routing Maps, XML and plug-in event representation events

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/ESPER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Bernhardt resolved ESPER-277.
------------------------------------

    Resolution: Fixed

In branch bugfix220

> Add route methods for routing Maps, XML and plug-in event representation events
> -------------------------------------------------------------------------------
>
>                 Key: ESPER-277
>                 URL: http://jira.codehaus.org/browse/ESPER-277
>             Project: Esper
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.2
>            Reporter: Thomas Bernhardt
>            Priority: Minor
>             Fix For: 2.3
>
>
> per user request:
> The route() API is not symmetric with the sendEvent() API, ie. there's no way to route Maps or XML events. Looking at the EPRuntimeImpl code, it appears any data, sent via route(), that is not an EventBean, is interpreted as a POJO event. Is there any easy way to route a map with an event type alias. Seems like I can post an EventBean that wraps the map... is there an easy way to create an event bean for the map using the client API? Can I get a reference to EventAdapterService instance from the client API somehow?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (ESPER-277) Add route methods for routing Maps, XML and plug-in event representation events

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/ESPER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Bernhardt closed ESPER-277.
----------------------------------


in 2.3

> Add route methods for routing Maps, XML and plug-in event representation events
> -------------------------------------------------------------------------------
>
>                 Key: ESPER-277
>                 URL: http://jira.codehaus.org/browse/ESPER-277
>             Project: Esper
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.2
>            Reporter: Thomas Bernhardt
>            Priority: Minor
>             Fix For: 2.3
>
>
> per user request:
> The route() API is not symmetric with the sendEvent() API, ie. there's no way to route Maps or XML events. Looking at the EPRuntimeImpl code, it appears any data, sent via route(), that is not an EventBean, is interpreted as a POJO event. Is there any easy way to route a map with an event type alias. Seems like I can post an EventBean that wraps the map... is there an easy way to create an event bean for the map using the client API? Can I get a reference to EventAdapterService instance from the client API somehow?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


LightInTheBox - Buy quality products at wholesale price!