You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Schwager (JIRA)" <ji...@apache.org> on 2008/07/08 17:52:31 UTC

[jira] Created: (SCXML-75) Make TriggerEvent serializable ?

Make TriggerEvent serializable ?
--------------------------------

                 Key: SCXML-75
                 URL: https://issues.apache.org/jira/browse/SCXML-75
             Project: Commons SCXML
          Issue Type: Improvement
    Affects Versions: 0.8
         Environment: all 
            Reporter: Daniel Schwager
            Priority: Minor


On 7/8/08, Daniel Schwager 
> Hi Rahul,
>
>  is it possible to make the TriggerEvent serializable ? Background: If you build
>  a component feeding events to SCXML, stored in an EventQueue (persistence),
>  the Event has to be serializable... Ah the moment, I have to create a DTO (data transferobject)
>  and save the payload and eventname in it ...)
>
>  The EventQueue is sometimes necessary  because of concurrent Events should NOT lauch concurrent
>  Instances of the same statemachine (-:
>
>  Just a featurerequest....
>
<snip/>

Yup, makes sense, I'll try to get to it later in the week. Can you
open an improvement request in JIRA [1] as a reminder?

We have always said that payloads should be Serializable.
Unfortunately, the payload property in TriggerEvent is defined as an
Object and since we don't want to change any public method signatures,
it will be upto the developer to ensure that the payload is indeed
Serializable (some Javadocs improvements need to be made to indicate
that as well).

-Rahul



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


[jira] Updated: (SCXML-75) Make TriggerEvent serializable ?

Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SCXML-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Akolkar updated SCXML-75:
-------------------------------

    Fix Version/s: 0.9

Setting fix version to 0.9 (the next release).


> Make TriggerEvent serializable ?
> --------------------------------
>
>                 Key: SCXML-75
>                 URL: https://issues.apache.org/jira/browse/SCXML-75
>             Project: Commons SCXML
>          Issue Type: Improvement
>    Affects Versions: 0.8
>         Environment: all 
>            Reporter: Daniel Schwager
>            Priority: Minor
>             Fix For: 0.9
>
>
> On 7/8/08, Daniel Schwager 
> > Hi Rahul,
> >
> >  is it possible to make the TriggerEvent serializable ? Background: If you build
> >  a component feeding events to SCXML, stored in an EventQueue (persistence),
> >  the Event has to be serializable... Ah the moment, I have to create a DTO (data transferobject)
> >  and save the payload and eventname in it ...)
> >
> >  The EventQueue is sometimes necessary  because of concurrent Events should NOT lauch concurrent
> >  Instances of the same statemachine (-:
> >
> >  Just a featurerequest....
> >
> <snip/>
> Yup, makes sense, I'll try to get to it later in the week. Can you
> open an improvement request in JIRA [1] as a reminder?
> We have always said that payloads should be Serializable.
> Unfortunately, the payload property in TriggerEvent is defined as an
> Object and since we don't want to change any public method signatures,
> it will be upto the developer to ensure that the payload is indeed
> Serializable (some Javadocs improvements need to be made to indicate
> that as well).
> -Rahul

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


[jira] Resolved: (SCXML-75) Make TriggerEvent serializable ?

Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SCXML-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Akolkar resolved SCXML-75.
--------------------------------

    Resolution: Fixed

Thanks for the suggestion, fixed in r676123:

  http://svn.apache.org/viewvc?view=rev&revision=676123

You can try the latest code from trunk to verify the fix.


> Make TriggerEvent serializable ?
> --------------------------------
>
>                 Key: SCXML-75
>                 URL: https://issues.apache.org/jira/browse/SCXML-75
>             Project: Commons SCXML
>          Issue Type: Improvement
>    Affects Versions: 0.8
>         Environment: all 
>            Reporter: Daniel Schwager
>            Priority: Minor
>             Fix For: 0.9
>
>
> On 7/8/08, Daniel Schwager 
> > Hi Rahul,
> >
> >  is it possible to make the TriggerEvent serializable ? Background: If you build
> >  a component feeding events to SCXML, stored in an EventQueue (persistence),
> >  the Event has to be serializable... Ah the moment, I have to create a DTO (data transferobject)
> >  and save the payload and eventname in it ...)
> >
> >  The EventQueue is sometimes necessary  because of concurrent Events should NOT lauch concurrent
> >  Instances of the same statemachine (-:
> >
> >  Just a featurerequest....
> >
> <snip/>
> Yup, makes sense, I'll try to get to it later in the week. Can you
> open an improvement request in JIRA [1] as a reminder?
> We have always said that payloads should be Serializable.
> Unfortunately, the payload property in TriggerEvent is defined as an
> Object and since we don't want to change any public method signatures,
> it will be upto the developer to ensure that the payload is indeed
> Serializable (some Javadocs improvements need to be made to indicate
> that as well).
> -Rahul

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


[jira] Commented: (SCXML-75) Make TriggerEvent serializable ?

Posted by "Daniel Schwager (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SCXML-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614417#action_12614417 ] 

Daniel Schwager commented on SCXML-75:
--------------------------------------

Hi Rahul,

i checked out the code today from SVN repository - and - all works fine (-:

Thanks you very much for fixing

Regards
Danny





> Make TriggerEvent serializable ?
> --------------------------------
>
>                 Key: SCXML-75
>                 URL: https://issues.apache.org/jira/browse/SCXML-75
>             Project: Commons SCXML
>          Issue Type: Improvement
>    Affects Versions: 0.8
>         Environment: all 
>            Reporter: Daniel Schwager
>            Priority: Minor
>             Fix For: 0.9
>
>
> On 7/8/08, Daniel Schwager 
> > Hi Rahul,
> >
> >  is it possible to make the TriggerEvent serializable ? Background: If you build
> >  a component feeding events to SCXML, stored in an EventQueue (persistence),
> >  the Event has to be serializable... Ah the moment, I have to create a DTO (data transferobject)
> >  and save the payload and eventname in it ...)
> >
> >  The EventQueue is sometimes necessary  because of concurrent Events should NOT lauch concurrent
> >  Instances of the same statemachine (-:
> >
> >  Just a featurerequest....
> >
> <snip/>
> Yup, makes sense, I'll try to get to it later in the week. Can you
> open an improvement request in JIRA [1] as a reminder?
> We have always said that payloads should be Serializable.
> Unfortunately, the payload property in TriggerEvent is defined as an
> Object and since we don't want to change any public method signatures,
> it will be upto the developer to ensure that the payload is indeed
> Serializable (some Javadocs improvements need to be made to indicate
> that as well).
> -Rahul

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


[jira] Closed: (SCXML-75) Make TriggerEvent serializable ?

Posted by "Daniel Schwager (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SCXML-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Schwager closed SCXML-75.
--------------------------------


Hi Rahul,

i checked your version today - and it works great.

Merci
Danny


> Make TriggerEvent serializable ?
> --------------------------------
>
>                 Key: SCXML-75
>                 URL: https://issues.apache.org/jira/browse/SCXML-75
>             Project: Commons SCXML
>          Issue Type: Improvement
>    Affects Versions: 0.8
>         Environment: all 
>            Reporter: Daniel Schwager
>            Priority: Minor
>             Fix For: 0.9
>
>
> On 7/8/08, Daniel Schwager 
> > Hi Rahul,
> >
> >  is it possible to make the TriggerEvent serializable ? Background: If you build
> >  a component feeding events to SCXML, stored in an EventQueue (persistence),
> >  the Event has to be serializable... Ah the moment, I have to create a DTO (data transferobject)
> >  and save the payload and eventname in it ...)
> >
> >  The EventQueue is sometimes necessary  because of concurrent Events should NOT lauch concurrent
> >  Instances of the same statemachine (-:
> >
> >  Just a featurerequest....
> >
> <snip/>
> Yup, makes sense, I'll try to get to it later in the week. Can you
> open an improvement request in JIRA [1] as a reminder?
> We have always said that payloads should be Serializable.
> Unfortunately, the payload property in TriggerEvent is defined as an
> Object and since we don't want to change any public method signatures,
> it will be upto the developer to ensure that the payload is indeed
> Serializable (some Javadocs improvements need to be made to indicate
> that as well).
> -Rahul

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