Hi John, this sounds very interesting. I think it will be very usefull for my next tests. I'm thinking about the development of a new participant and listner supporting activemq massaging system which has some ruby support (activemessaging for rails application and the opportunity to talk to activemq using stomp protocol which is also supported via a gem. What do you think ?
Best regards Andreas On 25 Okt., 07:22, "John Mettraux" <[EMAIL PROTECTED]> wrote: > Hi Andrea, hi list, > > I wanted to let you know that I unlocked a bit OpenWFEru in respect to > its "listen" expression. > > You can now use it without a child expression, it will block until it > receives a message (a workitem whose 'participant_name' field is set). > I've made sure the engine accepts in replies workitem that don't have > a "flow expression id", ie that don't belong explicitely to a process > instance. > > The test case is at > :http://openwferu.rubyforge.org/svn/trunk/openwfe-ruby/test/ft_54b_lis... > > As it's the listen expression, you can specify some filtering on the > incoming workitems to only react to the first that matches the > criteria. > (http://openwferu.rubyforge.org/expressions.html#exp_listen) > > You can now, for example, place a workitem with a participant name and > no flow expression id on an SQS queue and let the SQS listener fetch > it. The engine can handle it, engine.reply() will even return a > boolean (true if there was actually something listening for such a > workitem). I haven't yet adapted the SQSListener for cases where such > orphan workitems are not consumed. > > Still reflecting about the overlap between 'listen' and 'participant'. > > Thanks for the feedback, hope this has some use for you, for me it > certainly will. > > -- > John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" 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/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
